RubyMine does not highlight ruby code inside js.coffee files despite the plugin is ON (Plugins sections in Settings) and coffeescript itself is highlighted. I can not move to /works/modal pressing F4 or even see it highlighted properly.
Related
Setup:
VSCode 1.50.1
MacOS High Sierra (10.13.6) - but I think this applies to any OS
Steps to Reproduce:
this is a quick simple one...
click on/hghlight/open a markdown file (.MD extension) in VSCode / from the Explorer tree hierarchy in the Left Nav Pane,
hit SHIFT-COMMAND-V per numerous instructional posts/tutorials - (you can also find the shortcut clearly labeled with that very same Shortcut Key-Combo:
if you RIGHT-CLICK on the file in question...
you will get a Context Menu with several options, include Markdown Preview
hitting the stated key combo of SHIFT-COMMAND-V does nothing,i.e.:
no observable effect in current window or tab
does not open any other tabs
does not render markdown
BEFORE YOU DO ANYTHING:
--
This may seem STUPID/OBVIOUS to most of you... I think I was still asleep when I first tried this... so:
make sure that your cursor is ACTIVE in your .MD markdown document, and NOT active on the filename in the Explorer
Tree in the left-hand Nav
apparently, in VSCode this shortcut SHIFT-COMMAND-V only works when you are ACTIVELY EDITING the file.
using the mouse on the RIGHT-CLICK context menu works fine
even if the .MD file isn't open AT ALL / in ANY EDITOR
even if you're actually actively editing A DIFFERENT FILE, if you hover over the filename in the Explorer/File-Folder Hierarchy,
RIGHT-CLICK and launch Mark Preview, it will work.
Quick Solution:
You most likely have a VSCode "Extension" installed and enabled within VSCode that is blocking the default VSCode shortcuts
in my case, this was Atom Keymap Extension (Here's link to extension in VS Marketplace)
IN VSCode, go to Extensions, find (you can search in the search bar at the top of the Extensions list/Nav Pane) Atom Keymap and UNINSTALL IT
alternately, you can just simplt DISABLE IT if you prefer to use it another time.
restart VSCode
SHIFT-COMMAND-V shortcut SHOULD BE WORKING NOW!
Troubleshooting:
Key Combo not recognized in VSCode (at least in VSCode, see#2 if blocked elsewhere)
If you look at the very bottom-middle/bottom-right of the VSCode window, you will notice the Status Bar (by default the whole bar is bright blue with white text)..
the status bar has several different sections, symbols, and text messages...
you will notice it changes/will indicate when you press a VALID Key-Combo... and that SHIFT-COMMAND-V literally does not result in ANY message on the status bar
But hitting COMMAND-V for instance is reflected in a real-time corresponding message in the status bar telling you that you DID press COMMAND-V
It appears NOT for any Key-Combo that includes SHIFT isn't recognized
confirm it's a VSCode thing only
go to your MacOS System Preferences > Keyboard > Shortcuts > look through each category of shortcuts - you should NOT SEE a key mapping for SHIFT-COMMAND-V
I have a problem on writing and printing out amharic character in netbeans ide, when I try to print out on the system the netbeans ide doesn't display them correctly instead it displays boxs, any one can help me pls?
The language code is 'am' and country is ET (ETHIOPIA).THANK YOU
NetBeans needs a font that supports Amharic in its editor window and Output window. I tried a few of the widely used fonts in NetBeans but (surprisingly) they all rendered Amharic characters as empty rectangles, so I found one that explicitly supports Amharic: Abyssinica SIL
I downloaded that font as an EXE file (use the ZIP file for Linux) and ran it to install the font in Windows. Then I restarted NetBeans and changed its default font to Abyssinica SIL:
Select Options from the Tools menu and click the Fonts & Colors icon.
On the Syntax tab click the ellipsis (...) button to the right of the Font field and choose the Abyssinica SIL font you just installed, and click OK.
The NetBeans editor will use that font immediately, and correctly display Amharic text in the editor window.
However, Amharic text in the Output window will still be rendered as empty rectangles. To fix that:
Download the ZIP file for Abyssinica SIL.
In the NetBeans Ouput window right click and select Settings... from the popup menu to open the Options window, click the Miscellaneous icon, and then click the Output tab.
Click the Import... button, click the Browse... button and choose the ZIP file you just downloaded: AbyssinicaSIL-1.500.zip. When you click OK to close the Select Options to import window you'll get a scary warning "Import may irreversibly overwrite your current settings..." but click Yes to continue. NetBeans will restart.
After the restart go back to the Options window where you imported the ZIP file, click the Miscellaneous icon, and then click the Output tab. Click the ellipsis (...) button to the right of the Font field and choose the Abyssinica SIL font you just installed and click OK. Amharic text will now render correctly in the Output window.
Here's a simple program and its output to show it works :
Notes:
There's no need to specify country or language to resolve this. However, running the app from the Command Prompt window still renders Amharic as empty rectangles, and the font cannot be changed to Abyssinica SIL. I suspect the solution for that may involve setting the locale appropriately in Windows.
Abyssinica SIL is not a mono-spaced font so only set it as the NetBeans font if you need to enter Amharic text in the NetBeans editor. (I'm sure there are mono-spaced fonts that support Amharic - I just grabbed the first one I found.)
I also tried running the app in Eclipse and Intellij IDEA without any configuration changes. In both cases the Amharic text rendered correctly in the editor. The output also rendered correctly in Eclipse, but as empty rectangles in Intellij IDEA. If you use Amharic text heavily you may want to consider switching to Eclipse.
In netbeans preference(setting) change the font from its default to Nyala. after that the boxes will be changed to Amharic texts.
hope your problem is solved
I'm new to RubyMine 7 on Mac.
I used to use Sublime Text 3 and I love RubyMine so far except its lack of file previewing.
In Sublime Text, when clicking a file in the sidebar (file explorer), the selected file content shows in an editor tab for temporary viewing.
If I select another file, then the same tab changes to the content of the newly selected file.
I've been searching for this preference setting in RubyMine, or in a plugin, but I've had no luck.
A similar feature is "Autoscroll to source" but this feature opens files rather than previewing them.
If anyone knows how to do Sublime Text-like file content previewing in RubyMine, I'd appreciate it.
RubyMine doesn't have a feature exactly like Sublime Text file previewing.
The Quick Definition action can sometimes meet the same need. When invoked on a file, it opens a popup with the file's contents. You can invoke it on a file in the Project or Find pane and probably other panes, dialogs, popups, etc. that list files. (You can also invoke it in an editor on an identifier such as a class, module, or variable; it will show the code that defines the identifier.) Invoke Quick Definition with ⌥-space or ⌘Y in the Mac OS X 10.5+ keymap; use ^⇧I on Windows or check Preferences → Keymap for other keymaps, or use ⇧⌘A qd ⏎. Hit Escape or click outside the popup to close it.
When you invoke Quick Definition on a file in the Project pane and navigate to other files in that pane (with down and up arrows to move between files, and right and left arrows or Enter to open and close directories), the Quick Definition popup will stay open and update to the currently selected file, which is relatively close to Sublime Text file previewing. You can also hit Enter to open a file, F4 to open a file and move focus to the editor, edit the file, ⌘1 to jump back to the Project pane, etc., all with the Quick Definition popup still open, until you choose to close it.
If that isn't close enough, there are two feature requests for Sublime Text-like file previewing in JetBrains IDEs which you can vote for:
Preview currently selected file in project window
File Preview features from Sublime
Is there a way to set a keyboard shortcut in Eclipse to add the hash/pound sign (#) to the beginning of all highlighted lines in a Gherkin *.feature file? (I have the Cucumber for Eclipse plugin installed, which provides syntax highlighting for these files - not sure if that helps or is relevant.)
Ideally, the same command that toggles comments in Java files, Ctrl + Shift + /, would be assigned.
Could this be achieved with Text Completion features, if shortcut settings on their own can't do it?
Has anyone got a link to a manual of how to add keyboard shortcuts to Eclipse? is there a plugin for that? The GUI doesn't seem to support it...
I was coding in eclipse when out of a sudden eclipse began to delete marked text that I wanted to tab. I was looking through all settings but didn't find anything. Is there a shortkey?