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

Project relative dictionaries #146

Open
CareyJWilliams opened this issue Sep 11, 2022 · 1 comment
Open

Project relative dictionaries #146

CareyJWilliams opened this issue Sep 11, 2022 · 1 comment
Labels
backlog Not on the current 'release radar' enhancement

Comments

@CareyJWilliams
Copy link
Contributor

At the moment a single dictionary needs to be explicitly imported to CSIDE. This can make switching between projects that require different dictionaries quite painful.

One possible solution would be to have a concept of automatically detecting and loading 'dictionary.json' files in any opened projects (should one exist), and switch the language service to use whichever one automatically based on the active project.

Screenshot 2022-09-11 at 22 01 14

Screenshot 2022-09-11 at 22 02 35

I think the behaviour sounds quite promising, but performance could be an issue for larger dictionaries.

@CareyJWilliams
Copy link
Contributor Author

@Fiogan suggested that it may be beneficial to forgo the UI altogether and just allow editing files (which should be text rather than JSON?) in the editors.

@CareyJWilliams CareyJWilliams added the backlog Not on the current 'release radar' label Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Not on the current 'release radar' enhancement
Projects
None yet
Development

No branches or pull requests

1 participant