eclipse scala plugin console cannot display hebrew characters - eclipse

I am trying to run the following scala code:
println("world שלום").
but in eclipse, this is what I see in scala interpreter console:
println("world שלום")
world ????
Is it possible to fix that?

You should tell where you see this. Is it the console? Also what platform are you running eclipse on.
You could try to add -Dfile.encoding=UTF-8 to your eclipse.ini file.

This works for me with Eclipse Indigo on Linux. It looks like you have some platform specific encoding issue ... but it's impossible to tell without more detail.

Answer here
http://decoding.wordpress.com/2010/03/18/eclipse-how-to-change-the-console-output-encoding/
relevant for all eclipse languages...
Taking the comment i got below into consideration, the short version of the link I gave says the following:
In eclipse, in the toolbar, in the 'run' button combo options, select 'run configurations'
There, go to the 'common tab' and change your encoding to UTF-8.

Related

Eclipse code error marks does not auto-refresh

I am working with Eclipse Photon 4.8.0 and I'm facing a weird behaviour when I'm working with Java files.
When I make a change in a file, usually Eclipse refresh the code reviewer automatically, marking errors and warnings on the fly in the code. This is not happening to me. The code marks appears or disappears only when I save the file.
I suppose there is some preference option to allow auto-refresh for this code checks, but I can't find it.
In Window > Preferences: Java > Editor check the checkbox Report problems as you type.
I think that actually it's not a fix for the problem, but I delete this Eclipse and downloaded Eclipse Oxygen. Now it works. I suppose it's a bug for the new Eclipse Photon.

Add ttcn3 syntax highlighting to eclipse

I don't work with ttcn3 full-time, what I need is just basic syntax highlighting and commenting on Ctrl+/ added to eclipse.
After some googling I discovered Eclipse Titan, but it seems to be a full-blown IDE for ttcn3 with compiler and stuff, and I need just a plugin to eclipse.
I would like to find something like "Set syntax: ttcn3" from SublimeText, is it possible in eclipse?
if you go to this link:
https://projects.eclipse.org/projects/tools.titan/downloads
you will find that you can download the Titan plugins for Eclipse (today they look like this):
Eclipse plug-ins 6.2.0
You may want to install them in your current Eclipse and find out if that is what you are after.
Gustavo.
After installing the plugin
1.change the nature of your ttcn project for "TITAN Nature" this way:
Project popup>Properties>Project Natures>Add...>TITAN Nature.
(if this is not enough:)
2.Select Window>Preferences>TITAN Preferences>On-the-fly checker>Enable parsing of TTCN-3, ASN.1 and runtime configuration files
(You can also set perspective TITAN Editing/Titan Executing/TITAN Log Viewer)

Missing output when Generating JavaDoc on Eclipse Mars.1

I am working on Eclipse Mars.1. When I hit the "Generate JavaDoc" button (under Project > Generate JavaDoc...) the command works well and the javadoc is generated.
The problem is that it does not show the output of the command. On previous versions of Eclipse, the console would show the output, telling me about warnings and errors, and so. I really need to know about such things, but I can't get the Eclipse console to show something.
I am using Eclipse Mars.1, Windows 10 and Java 1.8.
It is a defect from Eclipse.
The console is not initialized if you start Eclipse and the first thing to do is to generate the documentation.
The solution is to run first the application. The JavaDoc errors will appear from now on.
I have the console output showing up again. I don't know exactly what I have done, but it seems that checking the option Open generated index file on browser has done the trick. Other things that I have done include checking every class and put javadoc comments manually, but I don't think it is necessary because when I ran the command and the console wrote the output, it gave me errors...
Hope this helps somebody!
Just to help someone else outside there who came here and find that the accepted answer did not match his/her problem like I did.
I have solved the problem just by open the other Java Stack Trace console (the toolbar is at the top right of the terminal), Maven console for example, and re-run the Generate Javadoc.. Now, the console output should showing up again.
Hope this helps.

Eclipse warning: "problems during content assist"

Every time I start Eclipse and press Ctrl + Space I get the following 3 warning popups.
http://imgur.com/a/2pKdm
They are only appearing the first time I press Ctrl + Space.
I get these warnings since i reinstalled the jdk.
I already tried to re-install eclipse, but as soon as I import my old projects the warnings seems to reappear. I currently have the following java versions installed:
JVE 7_u7 32bit;
JVE 7_u7 64bit;
JDK 7_u7 64bit;
JDK 7_u7 32bit.
I added all of them in the PATH variable in the same order as listed above.
I also have eclipse set to use the JDK 7_u7 64bit (btw I'm using eclipse 64bit).
I hope somebody knows a solution for my problem and excuse me for my bad english, I am not an native English speaker. ;)
You can resolve this issue by turning off Subwords-Completion in:
Window > Preferences > Code Recommenders > Completions: ==> incheck(Subwords-Completion)
I got the similar type of warning is eclipse spring tool suite(sts) .I unchecked CodeRecommendors Proposals(addons) which is present 2 times in the above list and below list and it worked.To do it go to window-->preferences-->java-->editor-->Content Assist-->advanced.see the screenshot.
You can configure content assist and disable the triggers in content assist. This link provides information on setting content assist preference.
I would like to share my experience for those who have this problem in the future. If you changed the theme of your editor recently, first change it back to the classic theme and then restart Eclipse. Then switch back to the theme(maybe dark theme) you want to use and restart Eclipse again. This is how my problem was solved.

Migration to NetBeans

I'm switching over from Eclipse to NetBeans for the first time, and have two quick questions I can't seem to find the answers for.
Is the "attachable" debugger from the Debug menu item the Java Debugger (jdb)? Or is it a NetBeans variant?
In Eclipse there is an INI file where I can specify arguments and do things let dictate how much RAM Eclipse will consume when launched. Is there a similar file for NetBeans, or menu/dialog within NetBeans?
Thanks!
Re 1: I'm pretty sure it's the java debugger from currently selected Java Platform.
Re 2: Look for netbeans.conf file in NB installation directory.