Skip to content
New issue

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

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

Already on GitHub? # to your account

Move env completionItems to top of list #32

Merged
merged 3 commits into from
Sep 23, 2022

Conversation

ConnorJennison
Copy link
Collaborator

I noticed this while I was looking at how the completion items work to get ready to add support to ruby. When I typed process.env. there was a bunch of typescript language feature suggestions that showed up first and the env vars were all the way at the bottom. I did some research and was able to make some changes to the completionItems so that the env vars should now always show up at the beginning of the list. See the provided video below for example.

moveCompletionItemsToTop.webm

@ConnorJennison
Copy link
Collaborator Author

Do you me to put this in changelog.md for a 0.10.1 release or wait until I add autocomplete to ruby for the next release

@motdotla motdotla merged commit a60549b into dotenv-org:master Sep 23, 2022
@ConnorJennison ConnorJennison deleted the moveCompletionItemsToTop branch September 24, 2022 21:31
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants