-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Inspector: (feature request) Syntax highlighting for the java methods #3546
Comments
This is the snippet I use for similar use cases: (defun vemv/to-java-string (s)
"Returns a propertized string with Java syntax coloring"
(with-temp-buffer
(insert s)
(java-mode)
(font-lock-ensure)
(buffer-string))) Feel free to give it a try. Besides, I noticed in your screenshot another point of improvement. Created clojure-emacs/orchard#198 |
Thanks for sharing. What does your workflow look like with that snippet? |
Mmm, if you don't have it easy to plug that function somewhere, let's just wait till a PR lands. Should be soon enough. |
Awesome, thanks! |
Cheers, the Melpa snapshot should be available later tonight. We will also cut a stable release with other Inspector goodies 🔎 |
First of all, I want to say that the CIDER inspector is awesome! Can't live without it.
Is your feature request related to a problem? Please describe.
I find it hard to grok the methods list when they are long, have a lot of arguments and/or there are a lot of them.
For example:
Describe the solution you'd like
It would be nice to have Java syntax highlighting for the method names, arguments, etc.
Describe alternatives you've considered
I currently have a very (very) hacky solution that adds highlighting via overlays
but even this gives me something very basic:
The text was updated successfully, but these errors were encountered: