logo
IRC Archive / Freenode / #eclipse / 2010 / February / 16 / 2
Aethelred
k
IntelliJ IDEA had a pretty easy mechanism for importing or exporting color schemes.
From what I can tell, Eclipse prefs are a whole wad. You can't save out, or read in, a color scheme.
I found a plugin that claims to do it, but comments I read made it sound buggy.
nitind
Aethelred: for the most part, people aren't filing feature requests for being able to export/import parts of the preferences.
Aethelred
nitind: I don't doubt it.
Seems a low-priority.
rcjsuen
for the java case it's certainly true (that it's a wad), ~6712
Arbalest
Bug 6712 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=6712 - JDT / Text / 2.0 - All / All - ASSIGNED / enhancement / - Assignee: jdt-text-inbox - [syntax highlighting] Syntax Coloring with different backgrounds & other font attributes
rcjsuen
whoops
wrong one
~103096
Arbalest
Bug 103096 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=103096">https://bugs.eclipse.org/bugs/show_bug.cgi?id=103096 - JDT / Text / 3.1 - All / All - ASSIGNED / enhancement / - Assignee: jdt-text-inbox - [preferences] Need option to save custom syntax color settings
rcjsuen
Regrettably, I have not updated my patch.
Aethelred
But bringing a color scheme into vi, vim, emacs, etc, is a done thing.
whoa
thanks for the bug reports
rcjsuen
Strangely enough this doesn't even require any changes to the Java code.
But I guess everyone that cares about that bug is too busy with other stuff.
nitind
Strange we can believe in.
rcjsuen
nitind: Believe in what exactly now? :o
nitind
rcjsuen: Some kind of extension points to just declare?
rcjsuen
And I don't really have a need for this, only did it because my friend was complaining to me.
Aethelred
I'm not sure I'd even call this a bug.
rcjsuen
But since he works for Microsoft now he doesn't need this feature anymore. ;)
nitind: yeah just mod up plugin.xml
nitind
rcjsuen: A good example would help the rest of us.
rcjsuen
Aethelred: call it whatever you want, Eclipse projects use bugzilla for almost everything
Aethelred
ya, I understand
rcjsuen
nitind: I have a patch on 103096, but Dani rejected it (rightly so)
but the ideas are there
Personally I'd like ~106228 implemented :(((
Arbalest
Bug 106228 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=106228">https://bugs.eclipse.org/bugs/show_bug.cgi?id=106228 - JDT / Text / 3.1 - PC / Windows XP - ASSIGNED / enhancement / - Assignee: jdt-text-inbox - [navigation] CamelCase pattern maching in quick outline and quick hierarchy
Aethelred
Well, thanks guys
conan
I'm getting package uses conflicts with hibernate. looking at it both fragments org.hibernate.annotations and org.hibernate.ejb export org.hibernate.ejb - is there a way to resolve this?
nitind
Thunderdome?
(seriously I have no idea)
fwaokda
I'm trying to run my android app through the emulator... in the console it acts as if everything is running but i never see the emulator window
I can even take screenshots from the device tab
this was in the launch preferences "-no-window" but i removed it and still no luck
magn3ts
hello. I have a Java EE project that builds on its own in NetBeans, but in Eclipse it doesn't play so nice. It comes up with BUILD FAILED everytime with errors that indicate other packages in the project are missing... obviously they shouldn't be missing as they are in the project as well :/
fwaokda
sry i d/c anyone know why the android emulator wouldn't be showing?
if i open the avd and select start it'll work
magn3ts
fwaokda, I don't understand. That is the expected result...
fwaokda
magn3ts: well when I click RUN at the top I was hoping it would open up the emulator with my program
in my devices list i have 2 emulators currently running but i dont know how to quit them, so now im not even able to get the emulator to start by opening the avd and selecting start - because it says its already running
haxplorer
I'm using the Target management plugin. http://www.eclipsezone.com/eclipse/forums/t88137.rhtml says that there is scp integration through this plugin. But, it asks me for NFS or SMB mounted drives
is there a way to edit files thru scp with eclipse?
topriddy
hi am using eclipse...forced to do so at work...lol...anyway been trying to locate an option that ensures my line numbers are always displayed.
haxplorer
topriddy: rightclick on the right margin and say show line numbers
topriddy
haha...that simple...got some few simple IDE usage questions...2 actually...
haxplorer
shoot
topriddy
In netbeans when I decide to create a web app, most default files are generates(WEB-INF and web.xml), and when I add a Servlet Class (auto), I dont have to place the xml for the Servlet mapping its generated...can I do same in eclipse.?
2) Whats the equivalent of Matisse builder on eclipse...a GUI builder is sometimes handy...and lastly is there a repository for eclipse plug-ins(such as report builders...etc)?
haxplorer
topriddy: I havent used it. But did u try WTP?
http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html
topriddy
okay.
haxplorer
for the second question, i'm not at all related. i dont do any GUI development. Someone else shd be able to help u
topriddy
okay...what then do you do on eclipse...lol?
haxplorer
topriddy: I create web services, but write my web.xml and maven config files by hand.
topriddy
cool...in netbeans you dont have to do it by hand...though i know a bit about how to code by hand...i still havent seen reason to use maven...ant seems fine enough...maven build and library duplication drives me nuts
Mr_Grim
erd
werd
how do i tell specific java files to compile with JDK compliance level 1.4 but keep the rest of the app JDK1.5 compliant?
keya
ÿMr_Grim: Don't think so file specific settings are available in Eclipse.
Mr_Grim
man
are you sure?
sylvainbouxin
should use ant for that
Eclipse provides jdk compliance at workspace or project level, not individual source files
Mr_Grim
so i need to build these files into a jar
start a new project
then i can import that jar and use it in my jdk 1.5 project correct
?
sylvainbouxin
you can do that, indeed
Mr_Grim
sylvainbouxin im still a bit new to the java world
how do i tell eclipse to build my project into a jar?
keya
ÿMr_Grim: You can 'Export' your project as a JAR file. File -> Export -> Java
mengu
hi. why in the earth eclipse galileo is breaking my top and bottom panels in ubuntu karmic?
Mr_Grim
i got it thanks
good night evryone
hporse
hey guys. i want to activate my assert statements when compiling with eclipse. how can i tell the compiler to use the -ea flag?
sawsereqwa
hi, I run eclipse under windows for java. When you select a curly bracket, it shows you the close bracket but it's not very clear. Can the color or highlighting be changed ? thanks
ilyak
sawsereqwa: Yes you can, probably in editor preferences
sawsereqwa
ilyak, yeah it's a bit of a mine field in there :) I tried searching for 'bracket' but nothing shows
keya
ÿsawsereqwa: Look up at Window -> Preferences -> Java -> Editor -> Syntax Coloring.
sawsereqwa
ok. thanks ilyak and keya
EricInBNE
having a weird problem. Have placed some jars in war/WEB-INF/lib and eclipse is not picking them up - even after I press refresh
where is rcjsuen when you need him the most.
macsim
hi, after an update PDT won't open my php files here is the details error : http://pastebin.org/92409 I don't know java so I don't know what this logs means
thanks
sawsereqwa
a question on folding, I have folding enabled but eclipse only let's me fold a method....I'm trying to read through a very long function so I also want to fold if statements and such..... the options don't have this ability. any ideas ?
macsim
btw, I use Eclipse SDK 3.5.1
sawsereqwa
I believe Kate under Linux can do that, fold anything between braces
*curly brackets
Rajko
hello, eclipse 3.5 on linux here
i cant seem to click the buttons
like next, find, etc
but pressing enter works fine
keya
ÿRajko: Which distribution of Linux you are running?
Rajko
ubuntu 9.10
does it on both 32bit and 64bit
nitind
Rajko: http://wiki.eclipse.org/IRC_FAQ#Eclipse_buttons_in_dialogs_and_other_places_are_not_working_for_me_if_I_click_them_with_the_mouse._I_also_cannot_see_anything_in_the_tree_when_I_try_to_install_updates._What.27s_going_on.3F
EricInBNE: Why do you expect it to pick them up?
EricInBNE: pick them up as it have on the Build Path, or just seen as resources?
sawsereqwa: In which language? In Eclipse, the editor decides what's foldable.
Rajko
yes that fixed it
are there any other improvements i can do to eclipse
like, so that it doesnt take forever to do anything
nitind
Rajko: Use a more recent JRE, give it more memory to work with, etc.
Rajko
its not the performance, its the general weirdness ofi t
sawsereqwa
nitind, in Java it's only letting me fold methods and classes :( The code i'm reading has huge functions, I really need to fold individual if-statements on demand to be able to read through it... I don't want to print it on paper
nitind
macsim: Follow along with ~302801 . This has been happening for a while.
macsim
nitind, what? 302801 ?!
sawsereqwa
~302801
macsim
sorry guys I don't know what 302801 means
sawsereqwa
neither do I... :D
macsim
:D
but I didn't understand the answer
sawsereqwa, bugs.eclipse.org/bugs/show_bug.cgi?id=302801 <== here is it it's a bug commit ;)
nitind
macsim: Let me try that again. ~302801 .
Arbalest
Bug 302801 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=302801 - PDT / Editor / 2.2 - Macintosh / Mac OS X - Cocoa - RESOLVED / INVALID / critical / - Assignee: php.ui-inbox - Editor could not be initialized.
nitind
Rajko: You'll have to be more specific to get more specific tips.
macsim
nitind, thanks for you're answer but the fact is I'm not a java / eclipse hero so I don't know you're shortcut for bugs etc... bugs.eclipse.org/bugs/show_bug.cgi?id=302801 was easy to understood but thanks anyway
sawsereqwa
I just don't understand how a 100 MB IDE won't let me do proper code folding... it must be there somehow
~1
Arbalest
Bug 1 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=1 - Platform / Team / 2.0 - All / All - CLOSED / FIXED / normal / - Assignee: James_Moody - Usability issue with external editors (1GE6IRL)
sawsereqwa
haha
nitind
macsim: The bot's here to expand that and other key commands. Except when freenode gets uppity and the bot doesn't realize he's been disconnected.
EricInBNE
nitind, I cant see them at all from the eclipse GUI. Like as if they werent in the directory - but they are.
macsim
nitind, I'm not an irc hero too ;) and english is not my mother tongue so excuse my ignorance about you "irc shortcut" and kind of slang word ;) so know I get it ~NUMBER = bug number ;)
nitind
EricInBNE: The most likely cause I can think of is that they *were* added to the Java Build Path. Entries on the build path don't get show as resources on their own. Try expanding the Libraries (or similar) node and seeing if they're listed there.
sawsereqwa
why is everything called something-zilla ? Bugzilla, filezilla, mozilla etc.. who on earth is zilla
nitind
macsim: Correct. There are more commands, but rcjsuen knows them better than I,
.
sawsereqwa: I don't know about filezilla, but Mozilla and Bugzilla both come from the same organization. But you could have looked that up yourself.
sawsereqwa
ye sorry
nitind
sawsereqwa: not a problem.
macsim
last question please, to fix my problem I have to install nightly build of PDT and DLTK, but I'm unable to found the update site for its
nitind
macsim: For which one?
macsim
nitind, both of them to fix the bug I have to install PDT and DLTK nightly build
feanorul
Hi, is there a way to specify a fixed width for an action in a toolbar
macsim
nitind, is it the nightly ?
nitind, (sorry) should I uninstall PDT and DLTK 1st and install nightly ? or can I do a direct upgrade ?
nitind
macsim: Don't know, never tried it myself.
macsim
nitind, it's not the nighly build link you gave me, it's the one I allready have install
Rajko
i use eclipse c++, any way to resolve function name of address ?
sawsereqwa
for anyone interested, I found a folding plugin: http://themindstorms.blogspot.com/2006/11/my-eclipse-code-folding-plugin.html
it let's you define your own folding regions, so I believe one can enable folding on { }
yes, above confirmed.
iguanna
any idea why do I get this error?
iguanna: http://ubuntu.pastebin.com/m6afc14c3
EricInBNE
nitind, I deleted the project anyway. The web contractor who sent it to me told me he was under an NDA and wasnt supposed to share it. When will these guys learn I'm not going to hire some dude who violates his NDA to win my job...sigh
sawsereqwa
hehe
roots_
what are good sites that have eclipse annoucements ?
eg plugins, controls, news etc ?
zizou
hello, could some one tell me if i can use zest in the presentation layer with GMF
HARIBABU
roots_: i too looking for this answer
keya
ÿroots_ : http://www.planeteclipse.org/ http://www.eclipseplugincentral.com
havocologe
how is it possible to change the default editor for a specific file type ?
the content type is locked and the editor is changed to default, but only the original editor is default altough the preferences menu tells something different..
roots_
keya: thanks!
i need to get some feedback on the webstart first though ... http://mappanel.sourceforge.net/swt/
actually to get all platforms supported i'd need to upload like 60 megs of native libs :>
keya
ÿhavocologe: Preferences is the only place. General -> Editors -> File Associations, Content Types.
havocologe
hm ok. the filtypes state that they are (locked) probably because i use pdt. : (
but ok, so i always have to use right click to open. in the context menu i can choose the editor i want to use
roots_
anyone up for a quick check ?
keya
ÿhavocologe: Yeah, default settings are locked. You can create new, if there is any particular pattern.
havocologe
keya: wanted to switch the default php-editor to vinm provided by vimplugin, but it does not seem to work :(
keya
ÿhavocologe: You can change it in the File Associations preference page by adding your new editor in the option and making it default. That should work.
havocologe
already tried that :( not working altough it is displayed as default ediotr for the filetype.
keya
ÿhavocologe: Hmm interesting.
copyto_test
philk_: http://pastebin.com/d3b6ca9e1
rcjsuen
EricInBNE: I don't do anything dealing with Java on the web so quite frankly cannot help you with your jar/war WEB-INF/lib problem
It would be preferable if people didn't assume I knew the answer. :)
havocologe: Did you try opening other PHP files or are you opening the same one? Eclipse remembers the last editor used so even if you switch the editor it may possibly still continue to use the PHP editor.
roots_
yuck windows7 @@ää!!676
i expect problems :)
apparently there is none, swt is rock solid these days
who is the new lead of swt ? former one did an excellent job
rcjsuen
roots_: Silenio is the lead now after Steve left last year.
roots_
ok, quite a burden, but swt needs to keep the fast pace it had in the past
rcjsuen
"fast pace" as in?
roots_
the way it keeps up with the rest of the world
you don't think it did well as a library ?
rcjsuen
Just wasn't totally clear to me what "fast pace" meant.
roots_
ok my swt hack works fine on windows7, quite astonishing, i had major problems with swing the last time around
http://mappanel.sourceforge.net/swt if anyone is bored :)
havocologe
rcjsuen: tried it with different files but seems to be a problem of pdt rather than of eclipse.
GrooveDroid
What would cause a Run configuration not to become available in Run as, even though it's made specifically for my current project in the configurator?
Aleph_One
Is there a way to have readonly .project/.classpath files and have any changes made to another local settings file? For example if you want to change the build path temporarily.
rcjsuen
Doubt it.
Aleph_One
ok
coolit
does anyone know how to remove the unresolved inclusion warning on cdt?
flyinprogramer
i've installed cygwin and eclipse, i did a full install of cygwin, and installed cxxtest in eclipse, i then updated cygwin with a full install - and now it doesn't see the libbfd library - even though it's in C:\cygwin\lib\libbdf.a and both gnu debugger and binutines are installed in cygwin [which require libbfd] -- any ideas?
roots_
what do you mean with "it doesnt see xyz ?"
flyinprogramer
i mean i open eclipse, CxxTest checks for it's dependencies - and then says "libbfd" cannot be found
wuntee
Does anyone know how to import, or use core java types (like boolean/void/int/etc) in UML2? Do you have to import them somehow?