Aptana Studio 3 - Content Assist - aptana

Over the last few days this issue has been popping up and it's really beginning to annoy me as I spend more time correcting it than actually coding.
periodically when I am working with my JavaScript (jQuery) when I type $ for say:
$('#something').html when I type $ the content assist box comes up, which is fine but when I press ( I get the following output:
$$()
instead of how it should look:
$()
Any idea's how to fix this without disabling content assist for JavaScript? Thanks.

As stated in a comment I have fixed this issue in 3.0.4 and before. Aptana Studio has bindings for auto-inserting the proposed code. To fix it, go to Windows -> preferences -> Aptana Studio -> Editors -> Javascript and delete the insert proposed which is by default: .( and that will fix your issue.
As Ingo Muschenetz states, 3.0.5 is supposed to have fixed this issue, but I have yet to actually try out that version to ensure that it does.

This is actually a known bug and fixed in the update to 3.0.5: http://preview.appcelerator.com

Related

Visual Studio 2013 ruins CSS in Debug

Couldn't find answer to this question, and as this happened 2nd time, decided that it would be wise to write this here.
Problem: While debugging ASP.NET website, some CSS is rendering wrong. Or not rendering at all.
Edit: It seems, that the same problem also somehow caused following problem - in debug GridTelerik.SelectedItems was shown as null, when it really should contain values.
Reason: Browser Link, that by default is enabled (Description what it is)
Solution: Just disable it:

Adobe Brackets 0.41 - CSS auto-completion error while in Live Preview

When:
Live Preview is running
I'm writing CSS
& I hit Enter to use an auto-completion recommendation
Then:
The auto-completion occurs
The cursor skips down a line & indents
I usually work around this annoying cursor movement by closing Live Preview, but I'd really rather not. Is this a bug or am I missing something? How can I fix it to where it just simply fills in the auto-completion recommendation?
Thanks!
Brackets 0.41
Windows 7
Brackets doesn't normally behave this way - you may have an extension installed that's causing trouble. Try using Debug > Reload Without Extensions and see if the problem still happens. If that fixes it, you can systematically disable individual extensions until you find which one was causing the problem. I believe the "Emmet" extension has caused some similar issues in the past, so that might be a good one to check first.
Once you know which extension causes the problem, I can walk you though filing a bug with the extension's author so it can be fixed.
If you're seeing the issue even after Debug > Reload Without Extensions, then it would be good to get more specific with the steps that trigger the problem. For example:
Open the default "Getting Started" project and open its main.css file
Start Live Preview
Add a new line to the end of the body rule
Type font-w and press Enter
type b and press Enter
When I do these steps, no extra newline is inserted. What steps should I use instead to see the problem?
I found this as I was experiencing the exact same issue. Try disabling any scripts called in your html one by one to see if it goes away. My issue was a script I was loading from a Wu

Aptana Studio 3 Not Showing Themes

So I recently moved all of the files that I want to keep onto a secondary hard drive in my laptop. This also included the workspace I use for Aptana Studio 3. As a result, there was a particular file that I had to delete and let the program recreate just to get the program to start up as well as re-import the projects I was working with.
The issue now, though, is that I cannot change or even bring up the themes in the preferences editor. When I first go to Window > Preferences > Aptana Studio > Themes, I get a message that reads:
The currently displayed page contains invalid values.
and doesn't show anything. On the rare occurrences that I AM able to get that particular window to show up, there's nothing there except an empty drop down menu. Anyone have any ideas on how to correct this? Thanks.
P.S. YES, I have Googled it and hence, since I didn't find anything, I'm asking the question here.
got this answer from another post...
I got the same problem. After updating Aptana to 3.5, whenever I looked at the themes settings, it crashed down saying.
"the currently displayed page contains invalid values"
Probably the new update has its own bugs for some reason.
the only way to fix the problem is to downgrade the version of Aptana studio.
https://wiki.appcelerator.org/display/tis/Reverting+to+a+Previous+Version#RevertingtoaPreviousVersion-AptanaStudio3.4.1
just Download 3.4.1 version and all things gonna be ok.
Add Eclipse Themes from http://eclipsecolorthemes.org/?view=plugin
Details to add themes on this post.
Edit: This does not seem to work :( only the bg changes. I never noticed that the font colors never changed. Have to wait for patches I guess. Don't want to downgrade though :-|

Aptana Studio 3.0.7 - CSS autocomplete only from the 2. line

i get CSS autocomplete only from the second line. There's no autocomplete at the first line?
And sometimes i get absolutely no autocomplete...
What am i doing wrong?
Thanks for reading that!
I guess they changed some settings, because it used to work instantly in previous Aptana versions. Here is what helped me with this problem in Aptana 3:
Window > Preferences > Aptana Studio > Content Assist > Auto-Display content assist
Change this drop-down from Default delay to Instant. Press Apply and Ok.
Please don't mind if you've already tried this and seems trivial. It wasn't for me!
Having moved from Dreamweaver where autocomplete comes on its own, I struggled with Aptana autocomplete at first. Sometimes in Aptana 3.0.7, it doesn't show up on its own and we need to hit Ctrl + Enter (on Windows)!
Also try Ctrl + Enter after typing at leaset 1- 3 Chars. This can be changed in Settings.
Hope this helps...

How do I remove "Use Directory" message from ReSharper

I just started a MVC3 Razor application and started typing out in one of the .cshtml files and I added an a tag with href, when I entered the location it keeps telling me to use a directory that it wants me to use. I cannot get rid of this and it is always visible.
Does anyone know what this feature is called and how to disable it either permanently or for certain files, either way is good. I tried looking through the options but with no luck.
Image:
Go to ReSharper > Options > Code Inspection > Inspection Severity
Search for "path error" inspection
Set inspection severity to "Do not show"
This is a new feature for Resharper 6. I recently uninstalled it (rolled back to old) as it was causing 'out-of-memory' exceptions for me.
So, it may not be 100% on the spot but I think the feature you're looking for should be under Coding Assistance | Code Completion.
If you cannot customize that specific option (which I think you can't) then the other option is turn off the whole Code Analysis thing.
IF this doesn't solve your problem, I'll try to find you an exact answer later.

Resources