Skip to content

Sryml/blade-virtual-module

Repository files navigation

Language:
🇺🇸 🇨🇳

Blade Virtual Module


✨ Blade of Darkness Virtual Python Module for Code Completion and Type Hints

This Python package provides code completion and type hints for C/C++ extension modules in IDEs like VSCode.
It effectively enhances developers' coding efficiency and accuracy.

🌟 Requirements

  • Python version >= 3.8

📖 Installation

  1. Install the Bladex package from the command line.
    pip install Bladex
  2. Install the Python and Pylance extensions in VSCode.
  3. Right-click on the project root directory in VSCode and open folder settings.
    Search for python.analysis.typeCheckingMode and set it to basic.

To update the package run:

pip install --upgrade Bladex

For code completion with other modules (e.g Raster), you need to add the path manually:

  1. Create a file named .vscode/settings.json in the project's root directory.
  2. Add the following content to the file and modify the Python installation path:
{
  "python.autoComplete.extraPaths": [
    "~/AppData/Local/Programs/Python/Python39/Lib/site-packages/Bladex/__ext__"
  ],
  "python.analysis.extraPaths": [
    "~/AppData/Local/Programs/Python/Python39/Lib/site-packages/Bladex/__ext__"
  ]
}

The Python39 folder represents the Python version used in this project. If you have a different version installed, you should modify the path accordingly. You can use pip show Bladex to check the package's installation location.

The settings.json file follows JSON syntax, ensure that your edits are correct.

📃 Documentation

See Steam Community

📃 Change log

See ChangeLog.md

💡 Issues

To report bugs or discuss features, please use Issues section.

📄 Reference

  • Blade of Darkness Scripts

💗 Thanks

  • Rebel Act Studios, Fire Falcom, General Arcade
  • SNEG
  • smartblade
  • OpenAI's ChatGPT

About

Blade of Darkness virtual python module for code completion

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages