GithubHelp home page GithubHelp logo

Comments (6)

thehogfather avatar thehogfather commented on July 2, 2024

Could you please tell me if there are any error messages in the chrome console when you click Debug -> Show Developer Tools in brackets? In the mean time I will try to reproduce your bug.

from brackets-code-folding.

thehogfather avatar thehogfather commented on July 2, 2024

Could you also let me know if the "]" character is typed using one keystroke on your keyboard or a combination of keys? The reason I ask is that there might be a conflict with a keyboard shortcut in the extension for expanding code regions (Ctrl-Alt-+).

from brackets-code-folding.

Shakarhaba avatar Shakarhaba commented on July 2, 2024

No errors are being printed to the console.
When typing "]" nothing happens as if the key wasn't even pressed at all.

In Spanish keyboards ] character is typed by pressing "AltGr + ]", closing bracket is in the same key that +* symbols.

from brackets-code-folding.

Shakarhaba avatar Shakarhaba commented on July 2, 2024

Yes, I've tested commenting lines 230 and 234 and now I can type closing bracket symbol, I guess I will have to change those shortcut keys. It would be great if you could inform about this conflict to other users in the extension's main readme so they can change the shortcut.

// CommandManager.register("Expand Current", EXPAND, expandCurrent);
// KeyBindingManager.addBinding(EXPAND, "Ctrl-Alt-+");

from brackets-code-folding.

thehogfather avatar thehogfather commented on July 2, 2024

Thanks and yes, I will make the update. And I would appreciate if you let me know what you have changed the shortcut key to. I would like to update the extension at some point to dynamically set the shortcut key based on locale.

Thanks again.

from brackets-code-folding.

Shakarhaba avatar Shakarhaba commented on July 2, 2024

I have changed the shortcut to expand current to Ctrl-Alt-.
For spanish keyboards this next combinations would also work, since the dot key is next to the - key (used to collapse) is the best substitute to +:

Ctrl-Alt-'
Ctrl-Alt-ยก
Ctrl-Alt-<

from brackets-code-folding.

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.