I get no smart caret in Aptana Studio - eclipse

I can't get word navigation on camelcase, underscore or periods in either Aptana or Titanium studios. Neither in PHP or Javascript. I do get it on hyphens though.
The only smart caret option I see in preferences is "Smart caret positioning at line start and end" in General->Editors->Text Editors. This have no effect on these.
Is there no way to enable better word navigation?
Btw, I'm using Mac. In case there are differences between Mac vs Pc Eclipse.
Thanks for any help.

I've been using Linux (Ubuntu) Aptana and it has the nice word navigation you described, then started using Max OS X for work and it does seem like the Mac version of Aptana and it seems to lack the same functionality (it only jumps over words separated by whitespace and not underscore or camelcase).
I know this is not an answer, but I can't post it as a comment since I don't have enough rep (wtf?).

Did a bit of searching (thanks to finding the right words to use from your question) and found this bug report on the issue, the solution (described in the final comment) is:
Go to System Preferences (OSX's not Eclipse/Aptana's) > Language & Text > Text
set the "Word Break" dropdown to "English, United States (Computer)"
restart Eclipse/Aptana
Thanks for helping me find that - this has been bugging me for months. This may not fix for camelcase but definitely fixed it for periods for me on OSX 10.7 Aptana 3.4

Related

Set Intellisense Hints to English in VSCode?

I've downloaded VSCode in German and I've set the display language to English as described here. However, the hints for Intellisense are still in German, which is not great for debugging and understanding suggestions/mistakes, since the breadth of information online on programming related issues is in English. I found this SO question that discusses how to do it in VS, but that is over 10 years old and I don't even have the "Tools" tab in VSCode.
How to set UI language in English and IntelliSense hint Language in another language in Visual Studio 2012 ?
I also tried to search for a setting by pressing "Ctrl+," using different keywords, but all I got was highlighting toggles for Intellisense that control highlighting for different code fragments. Using "Ctrl+Shift+P" and searching for "Intellisense" etc. didn't help either.
I really do not want to deinstall VSCode and reinstall it using an English installer just so I can fix this problem, especially since I'm only using VSCode to program C++ for Unreal Engine to begin with and whenever you change something slightly Unreal likes to break things in a fit of capriciousness.
Is there a straightforward way to fix this? Here's an image of what the Intellisense hints look like. I'd love it if they were in English.
To change the language of the Itellisense you should go to the Visual Studio Installer, modify the current installation, then go to "Language Packs" section of the installer and select English. After installing the language pack go inside the IDE: Tools -> Options -> Environment -> International Settings , select English and save changes.
For further details take a look at this link
Ok, so I wasn't able to set any options for this and the only thing that worked was going to a download page of an English installer and running that. I essentially updated my 1.7.3 version of VSCode to a 1.7.4 version using an English installer instead of a German one and that fixed the issue...
Is this stupid or am I stupid?

VISUAL STUDIO CODE Toggle Line Comment not WORKING ANNOYING

Would be great if you can help with the following.
I find Visual Studio Code a good product for my software development needs. However, for me it is completely useless because the toggle line comment never works. I have installed the intellJ Idea keybindings cause I am too accustomed to it but Code studio rejects simple toggle line comment. What is worse, I am able to comment the line but with Ctrl+, whereas I expect that it should work with Ctrl+/ or the one defined with extension CTRL+NumpadDivide..... Also since Ctrl+\ is linked to split window it is a mess for me.
The json keybindings file is empty. I deleted everything there. I am Using Ubuntu 20.04, However my keyboard, because I changed it is Latin American Spanish..... I don't remeber that this key binding has ever worked when I had English Keyboard
Thanks

How to get the NetBeans 8.0.2 spellchecker to suggest corrections?

I am writing JavaDoc comments for a program in NetBeans (build 201411181905). When I spell a word wrong them it is underlined as you would expect and hovering over it displays the text "Misspelled Word" as alt text. However, it would help me greatly if NetBeans would suggest corrections. Hovering over the word or right clicking the word does not display any suggested words.
I currently have to resort to Googling the word or writing the comments in Microsoft Word and then pasting them in.
I have searched SO and found no relevant questions. A Google search only returns the Spell Checker feature suggestion on the NetBeans wiki and an outdated spellchecker plugin for NetBeans 7.0.
Is there a way to make the IDE suggest words when I have misspelled a word?
Unfortunately the intuitive approaches you describe for obtaining spelling corrections don't work. Instead, this is what you need to do:
Position the mouse cursor over the underlined word.
Do one of the following to obtain suggestions:
Click the light bulb shown in the left margin.
Press ALT+ENTER.
The suggestions are listed in case significant alphabetic order, with no preference for semantically meaningful words:

Highlighting occurrences in Eclipse PDT

I'm working on a project that has now become complex enough to require navigational help from the IDE. In particular, I need highlighting of the occurrences of variables.
However, I can press the Toggle Mark Occurrences as many times as I want, PDT won't give me that useful functionality on anything, be it variables or functions. According to this (old) question, everything that is needed for that feature to work is correctly configured:
In the preferences (General > Appearance > Editors > Text Editors > Annotations), all annotations types related to "Occurrences" or "PHP" have Overview ruler checked and Text as also checked, with a color set.
In PHP > Editor > Mark Occurrences, every checkbox is checked.
This happens to me both in Neon.3 and in Mars.2: I'm not getting occurrences highlighted in PDT. JDT (Java) works as it should. CDT (tested on C++ code) works too.
Are there additional configuration options that evaded me?
Or is this a bug? I've searched the official Bugzilla and it seems that the highlighting of occurrences has been a recurring regression in Eclipse. It doesn't work either in JSDT (but that's a different issue because JSDT is undergoing an overhaul that caused a slew of regressions).
The same thing happened to me (sometimes still happens to me) but it improved significantly by adding more memory to my computer. It seems to be a functionality that due to the particularities of the php language requires many resources to be computed. I hope my experience will help you.

Painless integration of Eclipse with Vim?

Has anyone managed to get Vim integrated into Eclipse painlessly? I just want to use Vim for the editor while retaining the general Eclipse interface. I have tried using Eclim plugin but the editor seemed to crash more often than work (the site said that the editor replacement functionality is still beta).
On the flip side, is there any IDE which matches Eclipse's functionality—mainly the integration with SVN, ant, etc.—and is also able to use Vim?
I mostly use eclipse for SAS SCL, Java and Javascript programming and find the eclipse editor too "mouse-y".
I'd also like, in a perfect world, to use vimdiff as a diff viewer for SVN (we use TortoiseSVN) while checking for diffs or conflicts during merge etc. I admit I havent spent a lot of time trying to get these things to work. I feel guilty about spending too much time on potential wild-goose-chases while my other team members are working away at their code, perfectly content with all that Eclipse has to offer.
Edit: Just found this while desperately browsing around: Vim plugin. Any experience using this? From the claims on the site, it sounds perfect.
I've been using Vrapper for about 2 months and it works great. It is simple to install, and makes life much easier.
It doesn't integrate Vim with Eclipse, it just emulates Vim's behaviour so you don't need to have Vim installed.
EDIT:
I have been experiencing errors while refactoring methods in Eclipse (only when Vrapper was installed) so I stopped using it.
Now I'm using ViPlugin (very similar to vrapper). It works great (especially since version 2.0) and I recommend it, but it is not free (but cheap and has a trial version)
Edit
As the new post mentioned, if we always use the rename dialog to rename, it can be a work around for Varpper.
Preferences > Java > and uncheck "Rename in editor without dialog"
http://sourceforge.net/apps/trac/vrapper/ticket/96
The consensus seems summarized in that Wanted: VIM in Eclipse article.
No decent Vi plugin exists for eclipse, except viplugin which does not offer macro mechanisms.
Whereas on the NetBeans side... jvi does a killing job ;)
WOW, this is the one!
http://vrapper.sourceforge.net/home/
It just came out a few months ago, and seems much better than the other alternatives...and it is open source.
I use Viable, which is a new plugin for Eclipse providing Vi emulation. It is very similar to vrapper, but it doesn't have the same problem as vrapper with refactoring (as cysiek10 described.)
It's got some pretty cool features which none of the other Vim emulators in Eclipse seem to have (though jvi for NetBeans has a few of these) such as:
Visual block mode
External filters and commands
Command history
Window splits (love having this one!)
It is pay; however, you can try the full version for free just like viPlugin.
I never had much luck with vim integration into any IDE, be it Eclipse, Visual Studio, NetBeans, or sth else. Instead when stuck using an IDE, I just make the IDE launch a custom program: which passes the file onto vim using the client/server feature.
I.e. vim --servername SomeName --remote-{choice of how to open it: splits or tabs} {extra args like filename and +line#}
I just tried Eclim http://eclim.org/ and found it really good. I can still edit inside Vim, and enjoy most of the benefits of the eclipse IDE inside Vim (such as better omni completions).
The best thing about Eclim is we are still using the original Vim, so I can enjoy all the existing benefits (my own functions, macros, etc.) while having the extra convenience provided by an IDE.
http://vimplugin.org, which I found over the weekend was the closest I could come to a nice integration. Unfortunately when I opened more than 2 files in my IDE, it made my entire workstation unresponsive. And I didn't even use the "new process" option for the editor.
So bottom line it does seem that there is no decent integration available yet. Although with some it's close. I'm rooting for vimplugin to stabilize and I'll also some time (when I'm not eating up my employer's time like now) play some more with hte plugin to see if I can make it usable.
I tried Eclim and didn't like it at all. I ended using this plugin called "viPlugin," which actually works well enough to warrant using it every day. Here is the site for viPlugin:
http://www.viplugin.com
The big downside of this plugin is that it's not free. I paid for it, and I think it's worth it.
...is there any IDE which matches Eclipse's functionality -- mainly the integration with SVN, ant, etc. -- and is also able to use Vim?
IntelliJ IDEA has a very good VI plugin, but I didn't like it, although the plugin did it's work.
My problem was I have formed habits to use IDEA and those were harder and my experiment didn't it through. So I uninstall the plugin, and learned idea shortcuts instead.
But, is not free :(
Vrapper does the trick.
After installing Vrapper you need to remove CTRL+W key binding in Eclipse settings. Or else it keeps closing the editor when you actually meant Backspace.
It also comes with "surround" and split window plugins. Be sure to install those.
This is not 100% Vim, though. And nothing is 100% Vim except for Vim (doh!). You will find some commands missing (or you may not, depending on how "vimy" you are). But vrapper has :vim command, which opens up Vim editor with the current file in the buffer and places your cursor in the exact location in the file. This way you can continue editing from where you left off. When you're done in Vim just close the editor, and you return to your eclipse editor.
I hope this was helpful.