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

Bootstrap extension #1

Closed
4 tasks done
chrmarti opened this issue Mar 10, 2017 · 2 comments
Closed
4 tasks done

Bootstrap extension #1

chrmarti opened this issue Mar 10, 2017 · 2 comments
Assignees

Comments

@chrmarti
Copy link
Contributor

chrmarti commented Mar 10, 2017

  • yo up an extension.
  • Add a language id with file extension .sha.
  • Add simple coloring.
  • Run current line in terminal action/keybinding.
@chrmarti chrmarti self-assigned this Mar 10, 2017
@Tyriar
Copy link
Member

Tyriar commented Mar 10, 2017

Run current line in terminal action/keybinding.

There is already a generic command for doing this from the editor. workbench.action.terminal.runSelectedText will run the selected text if there is a selection, otherwise it will run the current line. Maybe you could add a keybinding for that?

If you wanted to manipulate the text beforehand you will want to use Terminal.sendText though.

@chrmarti
Copy link
Contributor Author

Did just that.

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

No branches or pull requests

2 participants