Skip to content
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

Tab #42

Open
CKGrafico opened this issue May 1, 2014 · 7 comments
Open

Tab #42

CKGrafico opened this issue May 1, 2014 · 7 comments

Comments

@CKGrafico
Copy link

Can you enable an option like in Emmet plugin for brackets to use Tab ? very useful to do things like

log 'test' (Tab)

@zaggino
Copy link
Collaborator

zaggino commented May 1, 2014

This is already possible, you can configure it in the settings (see #24)

@ThaisRobba
Copy link

Any way around it conflicting with regular Tab (as in, I can't tab to create indentation)?

@ThaisRobba
Copy link

Hey, bumping this because I'd be interested in a fix - I'm used to using Tab on every other text-editor.

@gle6as
Copy link

gle6as commented Nov 5, 2014

Got it.
At line 291 add else statment and there add:

document.replaceRange(" ", pos);

That's it )

@ragamufin
Copy link

Thanks @gle6s that worked for me. Any chance this fix or something like it could end up in the core code?

@ragamufin
Copy link

If you want the tab to do a tab instead of a space change it to:

document.replaceRange("\t", pos);

@ragamufin
Copy link

hmm.. if you have multiple lines selected and click tab, it will only tab over the first line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants