Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master py ext add json config loha #114

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

Louciole
Copy link
Member

@Louciole Louciole commented Feb 23, 2024

[IMP] vscode: configurations in globalSettings

goal :
we should be able ton create configurations by editing the settings.json file

Missing :
Set current config from workspace settings
Listen For configuration change in the json

Possible improvements :
add a migration script

Changes:
- Remove pythonPath field from Config view
- Integrate Python extension
- Properly use async/await in the code.
- Use of global.d.ts for Global variables.
- Wait for LanguageClient to stop before starting it again
- Queue Configuration change when LanguageClient is still stopping
- Properly hide Crash notification test command in Production
- outputChannel is now stored globally instead of being passed to all
functions
- Logging is now done through LanguageClient
- Add a Bash shebang to build_package.sh

Co-authored by Solan (sode)
… python extension

Changes:
- check if python extension is ready and save it in global
- display python path in config when relevant
- check and prepare the environment without python extension
The main goal of this commit is to be able not to set pythonPath when the extension is disabled
/!\ there's probably still a bug on windows
goal :
odooPath processing must be accessible in utils,
It must be generic
/!\ changing structure of configuration from :
- odooPath
to
- rawOdooPath - path saved in the configuration
- odooPath - path evaluated (default to path saved in configuration to preserve back compatibility)
goal :
we should be able ton create configurations by editing the settings.json file

Missing :
Set current config from workspace settings
Listen For configuration change in the json

Possible improvements :
add a migration script
@Louciole Louciole self-assigned this Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant