joelspadin / bracecompleter Goto Github PK
View Code? Open in Web Editor NEWVisual Studio extension to automatically insert closing braces.
Visual Studio extension to automatically insert closing braces.
hello,I'm glad to see your wonderful code. just have a small question : why use package but not addin . I think using addin may be more simple ?
When typing the closing token of an immediate completion item and the closing token is to the right of the cursor, the cursor is moved one position to the right instead of inserting the closing token. With symmetric completion items, typing the closing token is interpreted as typing the opening token instead, since the opening and closing tokens are the same.
Only one closing symbol is remembered, so when you type nested parenthesis like this:
if ((x < 0 && y < 0) || (x > 0 && y > 0))
...you get this instead:
if ((x < 0 && y < 0) || (x > 0 && y > 0)))
...since the extension remembers the inner level of parenthesis and moves the cursor to the other side of the closing parenthesis, but it forgets the outer parenthesis and inserts an extra closing parenthesis instead of moving the cursor to its right.
The extension should keep track of all the closing symbols it has inserted. It should probably also forget about the closing symbols if they are manually deleted. I'm not sure how to go about that yet.
VSIX installer fails with a message
"The package does not contain the software license agreement that is specified in the extension manifest (LICENSE)"
Currently, pressing Enter after typing an opening quote triggers the same indentation routine as for braces. With normal strings, it doesn't make sense to do this at all, but the next line and closing quotes are indented strangely making everything hard to clean up if you accidentally trigger it.
Everything seems to behave properly in C# verbatim strings (where you might actually want to do this).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.