Giter VIP home page Giter VIP logo

Comments (9)

somebee avatar somebee commented on June 20, 2024

There's really no way about it in vscode atm, but the first result of the completion should be a blank item that completes by typing space? So that typing < and then should erase the closing >? If it does not happen for you, see if you have editor.acceptSuggestionOnCommitCharacter toggled off in vscode settings. Maybe see if changing editor.suggestSelection to first also helps for this.

from vscode-imba.

trafnar avatar trafnar commented on June 20, 2024

I tried changing that setting with the same result, I actually immediately get the closing > upon typing the opening < without having to press space or anything. Same thing doesn't happen with typescript typing while(foo < bar)

Screen Recording (Code)

from vscode-imba.

somebee avatar somebee commented on June 20, 2024

It is very weird that you don't get a list of completions there. Do you never get a list of tags when you write <?

image

from vscode-imba.

somebee avatar somebee commented on June 20, 2024

Do you have editor.suggestOnTriggerCharacters turned on? If not, could you try that?

from vscode-imba.

somebee avatar somebee commented on June 20, 2024

Do you still have this problem @trafnar? Did you check the setting I mentioned? If you're not seeing the same as my screenshot above there is something very wrong with completions on your setup so I'd love to figure out why :)

from vscode-imba.

trafnar avatar trafnar commented on June 20, 2024

Yes it does still happen. I tried setting editor.suggestOnTriggerCharacters to true and it still happens.

from vscode-imba.

somebee avatar somebee commented on June 20, 2024

Does that mean that you do not get any suggestions usually when you type in < in an imba file? Another potential reason: Can you set "editor.suggestSelection" to "first"? If that is the culprit I'll try to find ways around it

from vscode-imba.

trafnar avatar trafnar commented on June 20, 2024

ok, when I turned off editor.acceptSuggestionOnCommitCharacter it fixed the issue. And I see now that you asked me to do that in your first comment but I missed it.. my bad 😭

from vscode-imba.

trafnar avatar trafnar commented on June 20, 2024

This issue actually happens in the scimba editor too!

from vscode-imba.

Related Issues (20)

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.