on2-dev / nasc-vscode-mac-touchbar Goto Github PK
View Code? Open in Web Editor NEWA customization for your the macbook pro touch bar buttons with features for VSCode.
License: MIT License
A customization for your the macbook pro touch bar buttons with features for VSCode.
License: MIT License
This button would show in the touchbar, the list of available commands from the package.json
scripts settings (like npm run build
).
Hey @felipenmoura
Awesome work on this!!! 🥳
I work in flutter in hot reload mode. This means I am always in debug mode while in development. I don't see any touch buttons in dubug mode. Is it by design? Can we do something about it.
Thanks
This seems to be overwritten by a new vs code setting.
Please fix this your plugin is sooooo useful
I'm running mac os latest
and vs code Version 1.31.0 (1.31.0)
🐼
Having either 2 buttons for folding all brackets and unfolding all brackets can be very useful.
Optionally, this can be a single button that just toggles the folding of brackets
I've noticed that there are scenarios where F12 will take me to the definition for a variable definition, file, etc. where the touchbar "Go to definition" button does nothing. Is this the intended behavior? Is there a way for me to align the behavior of the touchbar button with that of F12?
My use case is that I have this (awesome!) extension basically just to have quicker access to Go to definition, without holding fn to bring up the F keys and without setting the F keys to always show by default. Ideally, though, it would work in all the scenarios that F12 does!
Can we add option to remove play button?
When I enable addCursorAbove, it only selects the top row. However, when addCursorBelow is active, it adds all the bottom rows as I press the button. Logically, the top lines should also be added in direct proportion to the click count. I guess it's a minor thing and can be fixed.
Hi,
After several update of vscode, A lot of toucbar buttions have gone missing, like command palette, "go to definition",...Only Next/Previous and "Run" are shown up.
It is not working as the play and pause (F5) button of the debugging controls, it just skips everything.
Hi,
1st of all, thx for provide this powerful extension.
in Command Palette, i found that there are some duplicate command in the list, one is the icon, the other is the title. pls refer the screenshot.
Suggest remove the icon in Command Palette and align the title like MS naming conversion.
e.g. Nasc: Outdent Line, Nasc: Indent Line.
Hi !
Currently only tested with JS but the rename button doesn't work. If I recall, there was a time where it only renamed the current occurence (which was also a problem) but now it doesn't seems to even do something at all.
It could be either written tabs on the touchbar (as Sublime Text), either two previous/next tab buttons.
Is it already possible and if it isn't, can it be added?
As I understand it, the icons are created using ASCII characters. However, this causes some of the icons to be bigger and off-center (e.g. selectNext) or some to be colored while others black and white.
I'm sorry I don't have any more meaningful thing to say, but it just doesn't work for me. I don't see anything in my touch bar. I've tried various other (less cool) touch bar plugins, and they all show buttons in the touch bar, but this extension does not. I don't see any error, no warning, nothing.
I would be happy to provide any additional info you need.
My VSCode version is 1.18.0
Hi,
I think it would be nice to have a word suggestion in the touch bar. I think it will help non-native speakers with docstrings.
What if you included settings to add Whichever buttons you want, with custom icon (from som library like Font Awesome), label, and keystroke?
Hi Felipe,
would it be possible to add a touchbar button for the Zen Mode? (CMD K and then Z)
That would be great!
Regards
Pascal
Hello.
It's stop working on version 1.31.1.
We use Command Palette so often. Could you create one. Thanks
Is it possible to add a button "run to cursor" when debug? This is really useful when debug.
Once we got support for the user to customize the buttons (still depending on some fixes in the touchbar support for the vsCode), we could have some extra buttons:
Any other suggestion?
Dash is great for looking up what you need when you know the syntax keyword but can't remember it's specifics, but it's also great for helping with code review/tutorials/contributing to existing code to be able to search up a syntax term you don't know.
It would be great to have this option built into the vscode touchbar - so I've created a pull request to that end #39 It also includes an update to the readme about how to limit the existing vscode buttons to make more space for Nasc touchbar
Option to change button order would be useful( simplest solution is to preserve the order in the config)
I'll try to find some time to make a corresponding pull request
We cmd+c and cmd+v too often, can you add two buttons to do these?
It doesn't work when I click it.
MacOS 10.15.5
VSCode 1.46.1
nasc extension latest
After upgrading to Catalina, touchbar commands are no longer displayed
Hey!
I am new to whole programming world.
I have installed the extension properly and it is working fine. I am now trying to customise the bar with my own preferences i wanted to show in the bar. But i am not sure what to do or where to go. How will I make a command line to become true or false. I am not sure where to edit so i can make the changes for my self.
Please advise .??
Hello,
I recently switched to a new MacBook with Touch Bar of which I would like to make the most use.
It's quite helpful in VS Code to Format Document. Nevertheless, it's a bit inconvenient for ⌥Opt + ⇧Shift + F is hard for me to press.
In the README of the extension, it seems that it support that feature by setting nasc-touchbar.formatDocument
. However, I didn't see this setting nor did manually set nasc-touchbar.formatDocument
to true is settings.json
work. Instead, it showed a warning that nasc-touchbar.formatDocument
is a Unknown Configuration Setting.
Could you please check and fix it?
Thanks.
The idea is to show the last line outputed in the terminal for a second.
It is specially useful when you have a watch task running and don't want to keep the terminal visible all the time.
The actual thing that really really really such with respect to touchbar is that debugger commands actually always reside on the F-keys. Particularly if you cannot change the keymap.
Adding an icon set which - ideally - is automatically activated once activating the debugger was brilliant!
Even when navigating within a file, GoToDefinition opens a new editor group
My regular keybinding for "editor.action.goToDeclaration" or using >go to definition
from the command pallet does not cause the behavior.
When there are too many buttons enabled, the whole group will "fall" to the next line, breaking the layout and (usually) end up disappearing.
So, we could add a message informing the user about that, when that's the case.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.