-
Notifications
You must be signed in to change notification settings - Fork 237
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
Enable JavaScript code autocomplete using jsconfig.json
#2354
Open
colinrotherham
wants to merge
2
commits into
main
Choose a base branch
from
jsdoc-checks
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colinrotherham
force-pushed
the
jsdoc-checks
branch
2 times, most recently
from
October 11, 2023 11:19
cf40074
to
bc86613
Compare
colinrotherham
commented
Oct 11, 2023
colinrotherham
commented
Oct 11, 2023
colinrotherham
commented
Oct 11, 2023
colinrotherham
commented
Oct 11, 2023
colinrotherham
commented
Oct 11, 2023
colinrotherham
force-pushed
the
jsdoc-checks
branch
from
November 3, 2023 12:49
bc86613
to
85f7a95
Compare
colinrotherham
force-pushed
the
jsdoc-checks
branch
from
November 30, 2023 12:41
85f7a95
to
54ab1ef
Compare
colinrotherham
force-pushed
the
jsdoc-checks
branch
from
December 1, 2023 10:13
54ab1ef
to
6fecb78
Compare
colinrotherham
force-pushed
the
jsdoc
branch
from
February 28, 2024 10:45
65ffc16
to
24534b1
Compare
colinrotherham
force-pushed
the
jsdoc-checks
branch
from
February 28, 2024 10:46
6fecb78
to
a9178de
Compare
colinrotherham
changed the title
[SPIKE] Enable JavaScript code autocomplete
Enable JavaScript code autocomplete using Mar 4, 2024
jsconfig.json
colinrotherham
force-pushed
the
jsdoc
branch
2 times, most recently
from
March 5, 2024 15:39
1151743
to
5e534e7
Compare
Automatically picks up JSDoc annotations and works with IntelliJ, WebStorm, Visual Studio, Visual Studio Code, Sublime Text (via the TypeScript plugin) 1. Adds module `NodeNext` for Node.js 16+ 2. Adds resolveJsonModule for JSON autocomplete
colinrotherham
force-pushed
the
jsdoc-checks
branch
from
March 5, 2024 15:39
a9178de
to
4f7a09c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For recent contributions I've been running with a jsconfig.json file
It's helped me find and fix a few things but there's no necessity to merge
Code autocomplete
This PR will automatically pick up JSDoc annotations in IntelliJ, WebStorm, Visual Studio, Visual Studio Code and Sublime Text (via the TypeScript plugin) so you can see tooltips like:
Code checking
Optionally you can enable
"checkJs": true
when needed as a good way to spot bugs{ "compilerOptions": { + "checkJs": true, "module": "NodeNext", "resolveJsonModule": true } }