8000 Enable intellisense for subdirectories and allow ajustments to jsconfig.json · Issue #43 · antiboredom/p5.vscode · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Enable intellisense for subdirectories and allow ajustments to jsconfig.json #43

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

Open
rvanswieten opened this issue Jul 19, 2022 · 1 comment

Comments

@rvanswieten
Copy link
rvanswieten commented Jul 19, 2022

For a larger project, I want to include js files in subdirectories in jsconfig.json for intellisense purposes. However, jsconfig.json is reset to it's initial values after closing and opening the directory or restarting vscode. This does not happen if I disable the p5.vscode extension.

I have 2 suggestions:

  1. Do not write over jsconfig.json everytime vscode restarts or the directory is opened. Perhaps make this a setting.
  2. Include all subdirectories in jsconfig.json **/*.js. This way libraries/*.js doesn't have to be included separately.

Either solution would work for me. However, being able to make custom adjustments to jsconfig.json would be nice.

@antiboredom
Copy link
Owner

Hi! Thanks for flagging this. I’ll try to make an update in the next few days. The reason I’ve implemented the current behavior is to keep autocomplete working when the extension gets updated, but I think I have a way to do this without creating an issue with your use case…

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

No branches or pull requests

2 participants
0