Skip to content

mightbesimon-archive/vscode-deodorant

Repository files navigation

Deodorant

Deodor Python code smell.

Detect common student anti-patterns in real time. Suggest clean alternatives.

example

Authors

License

Apache-2.0

Acknowledgements

Dev builds instructions

The instructions below are for tinkering with the extension. If you are only using Deodorant as is, you don't need to worry about this section :)

Stack

Python 3.10 (language server)

  • pygls v0.11.3
  • qChecker v1.0.2

Node and TypeScript (language client)

  • vscode-languageclient v7.0.0

Install Server Dependencies

  1. python -m venv venv
  2. pip install -r requirements.txt from root directory
  3. source venv/bin/activate on Mac, .\venv\Scripts\activate on Windows
  4. Create .vscode/settings.json file and set python.defaultInterpreterPath to point to your python environment where pygls is installed

deactivate to deactivate the virtual enviroment

Install Client Dependencies

Open terminal and execute following commands:

  1. npm install
  2. cd client
  3. npm install

Run Extension

  1. Open this directory in VS Code
  2. Open debug view (ctrl + shift + D)
  3. Select Server + Client and press F5

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •