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
Related
When I run an integrated terminal in VSCode the fonts do not look as expected. This is especially evident with using a theme with custom font symbols such as Powerlevel10k and you might end up with something that looks like this
.
How can I fix this?
To solve this you can:
Go to File --> Preferences --> Settings
Select the correct tab (User, an SSH remote, etc.) - you will often be safe selecting User
Search for fontFamily
From the tree on the left select Features --> Terminal (1)
Enter the Font Family name. For Windows 10 you can find the correct name by clicking the Windows icon in the taskbar, searching for Font Settings and then - in the box that appears - searching for the font in "Available Fonts". The correct font name will be below the sample of the font and right above the number of available font faces.
Save the updated preferences and the terminal font for Visual Studio Code will change immediately
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 shortcut for color chooser in NetBeans?
I found this same query on NetBeans website, it was said that this was possible but I can't find an actual answer how to do it.
I mean this: when I am in a CSS file and I am editing a property that involves a color, the color chooser pops up automatically. I would like to have the color chooser pop up on demand when I am editing any file (e.g. a PHP file). It would be very helpful.
I already looked in Options -> Keymap and there seems to be no shortcut containing the word "color".
Thanks.
In the editor, click the text representing the color (you don't even have to highlight the whole thing), then hit Ctrl+Spacebar.
While it's not ideal in Netbeans 8.0.2 you can do the following:
open any CSS file that contains a rule with a property that takes colour as value and place the cursor inside the declaration block of that rule,
in the top menu click on Window -> Web -> CSS Styles,
click on the dropdown with colour values and scroll right to the top,
click on Choose Color and a colour chooser will appear.
You can now close the CSS file (if you like) and open any type of file - the CSS Styles window will stay and you can repeat the above procedure starting from step 3.
P.S. Netbeans has a bug tracker that is not just for reporting bugs:
Issues = Bugs, Feature Requests, and Enhancements
I want to turn off syntax highlighting in eclipse (CDT, if it mattes).
I tried Window->Preferences->C/C++->Editor->Syntax Coloring and unchecked "Enable semantic highlighting"
I also tried Window->Preferences->C/C++->Scalability->Disable syntax coloring in editor.
Neither is doing anything for me.
How do I get regular black on white text for .c and .h files in eclipse's text editor?
You can open the files with Eclipse text editor (no syntax highlighting no completion, etc...):
you can change default file association in Eclipse preferences (General ->Q Editiors -> File associations)
you can open a file with the text editor via the contextual menu on the file "Open with -> text editor". Eclipse will remember your choice, and will use the text editor the next time you'll open this file.
Scalability mode works for me (on Eclipse CDT Luna) when I follow these steps:
Select Window->Preferences->C/C++->Scalability->Disable syntax coloring in editor
Set Window->Preferences->C/C++->Scalability->"Enter scalability mode when the number of lines in the file is more than" to something low (e.g. 10)
Close the file and reopen it.
I'm currently using Eclipse Juno (the latest version as of Aug 30, 2012). I switched to a dark theme using Eclipse Color Theme plugin.
I modified some background colors to match this dark theme. However, I can never find an option to change the back ground of the code folding regions (the space between line numbers and the code).
Please help me to change this background color!
I was able to solve this problem using Eclipse-Juno on Ubuntu with the Dark Juno theme installed by doing the following:
Click on Window->Preferences to open up your Preferences panel
Open up the tab for the language you are using. For me this was C/C++
Goto Folding, and then uncheck "Enable folding when opening a new editor".
Click Apply and OK.
Now go back to your editor, and close and reopen any editors that you may have open (restarting Eclipse should also work). The default code folding will be gone, along with the white background.
You can re-enable code folding at any time (with a black background) by typing CTRL + NUMPAD_DIVIDE.
To fix this open the following file in a text editor:
org.eclipse.ui.editors.prefs
Once open look for the following line:
printMarginColor=101,101,101
The numbers represent the current color of the margin in RGB format. Simply change the color to your desired color, save and close the editor. Save and close any editor tabbed windows in Eclipse and re-open them .
If you are in Linux the org.eclipse.ui.editors.prefs file will be located in the following location:
~/[your workspace folder]/.metadata/.plugins/org.eclipse.core.runtime/.settings