Git Product home page Git Product logo

bracecompleter's People

Contributors

joelspadin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bracecompleter's Issues

why use package but not addin

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 ?

Proper closing of symmetric completion items fails

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 level of completion is remembered

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.

Pressing Enter after an opening quote shouldn't trigger automatic indentation

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).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.