View Full Version : netbeans editor . big spaces between lines
kestaz
September 24th, 2008, 05:34 PM
I recently installed netbeans ide with c++ plugin. But i'm feeling uncomfortable using netbeans editor(writing code). I don't know how to change length of space between lines. http://img338.imageshack.us/my.php?image=testzr5.png
I am using newest ubuntu(7.10) and netbeans 6.1
xlinuks
September 24th, 2008, 06:10 PM
I would suggest trying to change the font in the settings pane and/or install additional fonts from the restricted package.
kestaz
September 24th, 2008, 06:41 PM
I tryed to change font, but no luck ;( I seams like that with Java code there's no such big lines
xlinuks
September 24th, 2008, 07:06 PM
It seams? If you have also the standard Java pack intalled and the Java code looks fine then it's a C/C++ issue, in this case try changing all the settings that might apply to it. I have NetBeans 6.1 and the C++ code is fine, looks exactly like the Java one.
tinny
September 24th, 2008, 09:54 PM
"Tools" > "Options" > "C/C++" > "Formatting Style"
If you scroll down the available properties you will find a section that deals with blank lines.
kestaz
September 25th, 2008, 05:41 AM
Ok thanks for quick response .
I went Options->C/C++->Formatting Style. And I only see such formatting parameters:
Blank Lines
Before Class
After Class Header
Before Function
So setting all values to 0 didn't solved my problem
cerealk
November 4th, 2008, 02:43 AM
kestaz,
I am having the same exact problems. I'm pretty frustrated and can't figure it out. Have you been able to figure this out?
Thanks in advance!
GjesBolan
November 10th, 2008, 02:26 AM
Soory for my bad English, :(,
i had same problem and soloved it, just uninstaling open-Java, and instaling
sun's-Java, that's it. (remove it from sinaptic!)
Goood luck!
tinny
November 12th, 2008, 10:07 AM
Soory for my bad English, :(,
i had same problem and soloved it, just uninstaling open-Java, and instaling
sun's-Java, that's it. (remove it from sinaptic!)
Goood luck!
Open java does it AGAIN!!!
What version of Ubuntu are you running?
ddosia
November 12th, 2008, 11:56 AM
hello, i have exactly the same problem in netbeans.
trying to install msttcorefonts, it doesn`t helps
have installed:
openjdk-6-jre (6b12-0)
openjdk-6-jdk (6b12-0)
sun-java6-jre(6-10-0)
sun-java6-jdk(6-10-0)
sun-java6-fonts(6-10-0)
Ubuntu 8.10
---
also found not solved post in archive:
http://ubuntuforums.org/showthread.php?t=528671
ddosia
November 12th, 2008, 12:10 PM
try to do like was advised by [b]GjesBolan[b] and everything works:
del all packages like open-jdk-6-* and installed sun`s packages,
then run netbeans with command like
./netbeans --jdkhome /usr/lib/jvm/java-6-sun-1.6.0.10
where 1.6.0.10 - my version of installed sun`s java and that`s is.
also this solves some strange problems with java web start, which was occured during develop on java
but i want to see normal solvation of this problem
vlnikolic
November 12th, 2008, 02:02 PM
installing of sun java jdk solves the problem
i had the same prob...
thanks a lot!
endresma
November 16th, 2008, 11:27 PM
This issue seems to be related to this bug report:
https://bugs.launchpad.net/ubuntu/hardy/+source/openjdk-6/+bug/234314
terryroe
January 28th, 2009, 10:18 PM
try to do like was advised by [b]GjesBolan[b] and everything works:
del all packages like open-jdk-6-* and installed sun`s packages,
then run netbeans with command like
./netbeans --jdkhome /usr/lib/jvm/java-6-sun-1.6.0.10
where 1.6.0.10 - my version of installed sun`s java and that`s is.
You can also make this change permanent by editing the netbeans.conf file located at <netbeans install dir>/etc/netbeans.conf. Edit the line in this file like the one below to indicate the location of your jre:
netbeans_jdkhome="/usr/lib/jvm/java-6-sun-1.6.0.10/jre"
I prefer this fix because it gives me the correct jre no matter how I launch netbeans.
TR
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.