-
Notifications
You must be signed in to change notification settings - Fork 28
Send initial YAML and JSON files right after language client starts (2/3) #2445
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
Conversation
| async start() { | ||
| await this.client.start() | ||
|
|
||
| const files = await findFiles('**/*.{yaml,json}', '.??*') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[I] Needs Python files too.
|
Suggestion: When we cannot open a file, i.e the symbol is a folder we could use Some example usage in |
79b66a2 to
b0096e7
Compare
| export default { | ||
| devtool: 'source-map', | ||
| entry: r('./src/server'), | ||
| module: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identical blocks of code found in 2 locations. Consider refactoring.
b0096e7 to
1f6a83b
Compare
|
Code Climate has analyzed commit 1f6a83b and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (85% is the threshold). This pull request will bring the total coverage in the repository to 96.9%. View more on Code Climate. |
The standard documents manager provided by the VSCode SDK is only aware of text documents that the user has already opened in the editor area.
This is annoying because we would expect a feature like Go to Definitions to be immediately aware of the params.yaml file for example.
To solve this problem this PR will create a custom request from the Client to the Server with an initial batch of interesting documents. For now they are any yaml or json files that are not inside a hidden folder.