-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Vscode extension quality of life changes #629
Vscode extension quality of life changes #629
Conversation
Treat square brackets as brackets and auto close both square and angle brackets.
This may be controversial as it is achieved by pretending the language is indentation based
Awesome — thank you. I'm surprised someone found the VScode extension :-) |
I use it heavily when writing code for the prelude. I just decided to read up on how it worked so I could fix the quirks that annoyed me in my own workflow. This also reminds me, is this extension available for install without running it in debug mode via vs code? I seem to remember reading about a reason it wasn't in the extensions catalog, but when i went looking for where I read it I couldn't find it. |
No.
There's no reason except that I never published a VS code extension and I'm afraid it might involve some boring organizational things 😄 |
That's honestly very fair. I have looked into it a bit and it requires some setup of accounts and such in Azure DevOps and Visual Studio Market place. It is however also possible to distribute extension packages as standalone |
That would be great — thanks! |
No problem. Back when I first discovered numbat I was slightly disappointed that I couldn't find where to get the vs code extension, so I’m excited to hopefully make it easier for newcomers in the future. |
This PR adds and modifies a few behaviors of the vs-code extension to improve the developer experience. Some changes may be controversial so I will list them here to open a discussion about if some of them should be reverted before merge.
\"
) inside stringsExamples:
Before fold:
After fold:
Examples of interpolations and escaped brackets:
Example with escaped quotation mark:
Footnotes
This isn't strictly correct, but aligns with the code style used and in my opinion gives more intuitive folding in the prelude files ↩