Comments (14)
FWIW while y'all don't owe me anything, I'd really appreciate if this was working before the release. I've spent a lot of time picking >600 icons for all the VSpaceCode menus, and having icons for some items but not others in the same menu looks quite weird IMHO (and makes it harder to scan the contents visually with the text "jumping" around, kind of defeating the whole motivation behind those icons).
from vscode-which-key.
That's pretty cool. I implemented the support at f5be86d in the refactoring
branch. You can switch to the branch to try it out.
It would be great if you can help us add the icons in VSpaceCode
bindings once a new version is released.
from vscode-which-key.
regexes ftw indeed. That awesome, I am finishing up documentation for the new version. Hopefully, I can release it soon especially it has been in the works for a while.
from vscode-which-key.
Thanks for reporting, there are two things happening:
- Icon in transient menu hasn't been implemented
- The transient type will be deprecated, and are converted to a separate command internally. The conversion didn't take into account of icon key.
I will implement them before I release the new version of which-key, but I am a little busy atm. Might take a bit more time.
from vscode-which-key.
Will open a PR later today or tomorrow! Just going through them again, as I think there are better options for some of those (e.g. I was mixing up windows and frames 😅)
from vscode-which-key.
Awesome, thank you! FWIW I wanted to try installing the extension on the refactoring
branch with vsce package
, but that complains:
ERROR @types/vscode ^1.54.0 greater than engines.vscode ^1.45.0. Consider upgrade engines.vscode or use an older @types/vscode version
from vscode-which-key.
I updated some packages in that branch. Apparently, I also made the vscode type out of sync. Fixed in 1bc6ad7
from vscode-which-key.
Yay, thanks! I adapted my changes (regexes ftw, see also). Seems to work great so far. I'll wait until the next vscode-which-key release (and perhaps improve the icons a bit more until then) and then open a PR.
from vscode-which-key.
After testing this for a bit, I noticed a couple of icons don't seem to show up:
+Window
:
+Text
:
+Zoom / *
:
But they are defined in my icons
branch, e.g.:
and my VS Code seems to know about them, as they get displayed when I enter :$(selection)
(abusing VSCodeVim/Vim#6655).
Any idea what's going wrong there? Looks like it's affecting (only?) transient bindings?
from vscode-which-key.
No worries, take your time! 👍
from vscode-which-key.
You could also release now and you specify in the README that icons do not work for transient mode, it's up to you :)
from vscode-which-key.
@The-Compiler, the branch is updated with icon support for transient. It would be great if you can try it out :)
from vscode-which-key.
Looks great now, thank you! 🚀
from vscode-which-key.
v0.9.0
is finally released!! Closed.
@The-Compiler It would be amazing if you can open a pull request for the icon your used for the vspacecode's bindings :)
from vscode-which-key.
Related Issues (20)
- Support partial override HOT 1
- triggerKey Not Firing from edamagit HOT 7
- Weird behaviour with Github Pull Request extension HOT 1
- `whichkey.delay` causes a delay in `SPC SPC` shortcut, others seem to be unaffected HOT 6
- Add default binding for `git pull`
- Crash when mixing `key` / `keys` and using `whichkey.sortOrder` HOT 2
- [bug/ feature?]: whichkey.searchBindings should support fuzzy search HOT 2
- [Help Wanted] Show the menu when press g HOT 3
- Debug Transient State gets closed. HOT 4
- Support several menus HOT 4
- Space keybind with vscode-neovim and the Commands option HOT 5
- `bindings` vs `bindingOverrides` and `keys` vs `key` HOT 3
- Ability to specify font for menu "keys" HOT 6
- Typos in commands
- Reliable key sequence handling HOT 2
- Is there a way to have bindings without a doc, and vice versa? HOT 1
- Support initial menu delay HOT 1
- Configure context menu delay? HOT 2
- Code get unselected when menu pops up HOT 1
- command not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-which-key.