id
int64
0
5.38k
issuekey
stringlengths
4
16
created
stringlengths
19
19
title
stringlengths
5
252
description
stringlengths
1
1.39M
storypoint
float64
0
100
59
APSTUD-3699
10/20/2011 16:36:49
"Mark Occurrences" freezes IDE on large files
Steps to reproduce: # Copy ext-all-debug.js into a new Web project # Open up the file # Turn on "Mark Occurrences" # Click on the first instance of "function" # note that the annotations in the side bar come up quite quickly, but profiling, it shows a significant performance hit in ThemeingDamagerRepairer. # At this point the IDE is unusable for quite some time (10-30 seconds) See screenshots for details. I noticed that if I only allowed 100 annotations to be created, performance seemed acceptable (though still kinda slow)
1
60
APSTUD-3713
10/24/2011 09:56:06
GIT functions are not working on linux systems
Hi friends, related to this report http://jira.appcelerator.org/browse/APSTUD-3691 the most GIT functions are not working on Linux systems. I realized is the first time after upgrading to the new ubuntu version with is based on Gnome3. (Unity is also based on gnome3, but not using the gnome shell) For example if i try to commit somethink i got the following error message: {quote} Unhandled event loop exception No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] {quote} In the other topic Michael Xia sayed that aptana has no need for the XULrunner, but i think there is still a dependency left, because without it's not working. I asked in the developer irc channels an i am not the only one with this problem. (also some kde users) Here is the error from the aptana log file. {quote} !ENTRY org.eclipse.ui 4 0 2011-10-24 18:47:55.569 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] at org.eclipse.swt.SWT.error(SWT.java:4109) at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:1739) at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:656) at org.eclipse.swt.browser.Browser.<init>(Browser.java:119) at com.aptana.git.ui.internal.actions.CommitDialog.createDiffArea(CommitDialog.java:237) at com.aptana.git.ui.internal.actions.CommitDialog.createDialogArea(CommitDialog.java:158) at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:760) at org.eclipse.jface.window.Window.create(Window.java:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.jface.dialogs.StatusDialog.create(StatusDialog.java:203) at com.aptana.git.ui.internal.actions.CommitDialog.create(CommitDialog.java:202) at org.eclipse.jface.window.Window.open(Window.java:790) at com.aptana.git.ui.internal.actions.CommitHandler.doExecute(CommitHandler.java:34) at com.aptana.git.ui.internal.actions.AbstractGitHandler.execute(AbstractGitHandler.java:108) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:820) at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:806) at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:796) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) at org.eclipse.equinox.launcher.Main.main(Main.java:1384) {quote} I am not very good in java, i am more a C/C++ guy, but i think CommitDialog.java:237 is calling the internal browser and this is throwing the error. Greetings Leo
8
61
APSTUD-3722
10/25/2011 14:34:12
Unable to acquire parser pool for content type: "com.aptana.editor.text.content-type.generic" when opening Studio log file
Steps to reproduce: # Open up Studio, Troubleshooting, and turn on INFO-level logging for com.aptana.parsing # Open the Studio log file # Switch to another file # Switch back to the log file. See this in the log. It appears that we don't need to be doing any parsing in a test file, so we don't need to ask for a parser. It was been suggested we could override a few methods in TextEditor to do nothing in the this case, but that needs to be investigated for side effects.
5
62
APSTUD-3723
10/25/2011 14:39:33
PHP: Open Method (ala PDT) functionality
PDT has an "Open Method" that allows the user to navigate to any method/class in any PHP file in a project/workspace. This makes it a lot easier to locate a particular method or browse methods when looking the right method to use. The list of methods is filterable (find as you type) and allows wildcards ({{*}}) as well to allow more flexible method listings. Now that Aptana Studio 3 conflicts with PDT so that PDT's editor no longer works properly, it would be great if Aptana Studio added this feature to further round out the workflow that was lost from PDT. For reference, the "Open Method" feature in PDT is launched via the following shortcut by default: {{CTRL+SHIFT+M}}
1
63
APSTUD-3761
10/28/2011 11:47:23
Add GIT Tagging Feature
It would be really nice to add the ability to Tag releases in GIT using the Aptana menu items. Currently you can add Branches, Push, Pull, Commit, etc. but there is no support for tagging. The workaround right now is to open the terminal console and manually type in something like this: git tag -a 1.23 -m "1.23" git push --tags It would really save me time if we could just do this from the dialog menus. Thanks for considering this feature! Sincerely, Leighton Whiting
1
64
APSTUD-3767
10/30/2011 09:37:53
Allow to manually change content assist delay to 0
Would be great to allow to manually change content assist delay to 0 (for JS and CSS editors). It's very annoying to, for example, type "b", then wait for CA to apear, then type "o" to get to "border". And when typing "bo" quickly CA will not appear at all. See this thread https://aptanastudio.tenderapp.com/discussions/problems/3318-306-cssjs-code-hinting-broken-after-update
1
65
APSTUD-3776
10/31/2011 17:48:07
Investigate replacement for HTML Tidy Validator
This item manifested after pasting the set of all HTML tags from the website : http://www.w3schools.com/tags/default.asp Into the HTML editor and arranging them in a valid order (list is included below to speed replication) : <!--...--> <!DOCTYPE> <a> <abbr> <acronym> <address> <applet> <area /> <b> <base /> <basefont /> <bdo> <big> <blockquote> <body> <br /> <button> <caption> <center> <cite> <code> <col /> <colgroup> <dd> <del> <dfn> <dir> <div> <dl> <dt> <em> <fieldset> <font> <form> <frame /> <frameset> <h1> <h2> <h3> <h4> <h5> <h6> <head> <hr /> <html> <i> <iframe> <img /> <input /> <ins> <isindex> <kbd> <label> <legend> <li> <link /> <map> <menu> <meta /> <noframes> <noscript> <object> <ol> <optgroup> <option> <p> <param /> <pre> <q> <s> <samp> <script> <select> <small> <span> <strike> <strong> <style> <sub> <sup> <table> <tbody> <td> <textarea> <tfoot> <th> <thead> <title> <tr> <tt> <u> <ul> <var> <xmp> Steps to Replicate : 1) Open Aptana Studio 2) Open saved HTML file 3) Paste above list of HTML tags into editor and begin to arrange in valid order. I continue to witness performance issues and Studio unresponsiveness. Actual Results : When I discovered this Sunday evening, several malfunctions occurred sequentially. First was a NPE, then a Heap error, and finally Studio turned unresponsive until shut down from the task manager and opened with a new workspace without the offending file, which does not contain an excessive number of tags -- perhaps Studio is representing this as an unbalanced tree. Below is the stack trace for the second error : !ENTRY org.eclipse.ui 4 0 2011-10-30 21:59:24.432 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.OutOfMemoryError: Java heap space at org.eclipse.swt.widgets.ScrollBar.setThumb(ScrollBar.java:874) at org.eclipse.swt.custom.StyledText.setScrollBars(StyledText.java:9294) at org.eclipse.swt.custom.StyledText.resetCache(StyledText.java:7787) at org.eclipse.swt.custom.StyledText.redraw(StyledText.java:7370) at com.aptana.editor.common.extensions.LineBackgroundPainter.drawHighlightLine(LineBackgroundPainter.java:281) at com.aptana.editor.common.extensions.LineBackgroundPainter.paint(LineBackgroundPainter.java:146) at org.eclipse.jface.text.PaintManager.paint(PaintManager.java:298) at org.eclipse.jface.text.PaintManager.keyPressed(PaintManager.java:305) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:161) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099) at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1808) at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4498) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4193) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) Expected Results : Files this size should not consume excessive resources. It appears this is related to HTML Tidy. We need to investigate what functions HTML Tidy currently still performs (that are not filtered out) so that we can scope how hard it will be to replace it.
8
66
APSTUD-3778
10/31/2011 18:03:15
ScriptDoc Autocomplete for JavaScript functions
when we type scriptdoc comments start with /**\n bellow a class or a function in studio 1.5 or 2.0 , IDE will insert the class or function doc like this: /** * doSomething xxxxxxx xxxxxx description * @param {String} param1 * @param {Object} param2 * @return {Object} */ function doSomething(param1,param2){ } this function is useful when doc our code
13
67
APSTUD-3792
11/02/2011 14:17:05
JavaScript Code Formatter: More options for Spaces - Parentheses
The JavaScript Code Formatter is nice, but it's missing a few key options for me to use it. Specifically, there are only two options for Spaces - Parentheses (Before/After). However, parentheses are used for multiple reasons - if, function declarations, function calls, etc. My desired spacing for parentheses doesn't apply to all of these. For example, if I set Before = 1 and After = 0, I get: {code} var a = function (b, c, d) { // BAD Don't want the space before function arguments here alert (b + c + d); // BAD Don't want the space before invokation arguments here } var c = a ? 10 : 20; var bb = { "a": 1, "b": 2, "c": 3 }; for (var i = 0, j = 0; i < 8 && j >= 0; i++, --j) { // GOOD This space is good alert ("(a " + a + ",j " + j + ")"); // BAD Don't want the space before invokation arguments here } if (xyz[1] >= 5) { // GOOD This space is good {code} If I set Before = 0 and After = 0, I get {code} var a = function(b, c, d) { // GOOD alert(b + c + d); // GOOD } var c = a ? 10 : 20; var bb = { "a": 1, "b": 2, "c": 3 }; for(var i = 0, j = 0; i < 8 && j >= 0; i++, --j) { // BAD I want a space here alert("(a " + a + ",j " + j + ")"); // GOOD } if(xyz[1] >= 5) { // BAD I want a space here {code} If there were separate Parentheses rules for function arguments, function invocation, and for/if/etc clauses, it'd be much nicer.
20
68
APSTUD-3795
11/03/2011 08:59:01
Remove Firefox installation requirement on Studio startup and instead show prompt on Firefox debug launch
Currently, we prompt the user for an install of Firefox if we can't find it at startup. We should instead do the check and install if they've chosen to debug with Firefox.
8
69
APSTUD-3816
11/07/2011 18:01:05
PHP: Add hyphened variables to double click selection delimiters
When you double click on something like "$foo-bar.baz", depending on where you click, Aptana will select text. If you click to foo, Aptana will select "$foo", if you click on "bar" or "baz" Aptana will select only that text, without dash or period. You can see Aptana and Notepad++ comparison in the attachment. Someone suggested it a while ago in https://aptanastudio.tenderapp.com/discussions/problems/560-doubleclick-selection-problem We have determined that we should be supporting the addition of the hyphened text (i.e. -bar, in this example)
5
70
APSTUD-3819
11/08/2011 00:19:53
Jump to parent classes and methods from outline and editor
I use php editor, so everything below is about it. In old Aptana there was a two great features, that I was using regulary: * Ouline shows a parent methods and classes. And there was an possibility to find some method with search bar(in outline) and jump to it right from quick outline (new tab scrolled to the selected method or class was opened) * I was able to jump to parent method from the editor - a litle green triangle was displayed near the inherited method (on the left sidebar. Just right to the line numbers) and a new tab was opened when Ctrl+click on it (or just click, can't remember). Newly opened tab was scrolled to the selected method, just like the outline 'jump to parent' feature. Will this features return in the new Aptana Studio?
1
71
APSTUD-3828
11/09/2011 06:02:08
Save all does not trigger "Automatically sync my changes with the remote site"
I use "Automatically sync my changes with the remote site" -> "Automatically sync from my machine to the remote site": if I use "Save", Aptana actually upload file on save, that's what I need. I often modify more files, before saving. So I always use "Save all" (I use a shortcut for it, and it is the only way I'm used to save) to save them all in once, but in this case Aptana does not upload any file. I ask for "Save all" triggering "Automatically sync..." on each files that is saved; else I suggest a "dedicated" command, if most people don't like the behavior I ask for. Thank you for attention, Fabio.
3
72
APSTUD-3844
11/13/2011 08:34:21
Cannot get Aptana Studio to run on RHEL 6.1 Desktop x86_64
Plugin installs fine from the update site, but when I restart I get: An internal error has occurred. No more handlesNative code library failed to load. (java.lang.UnsatisfiedLinkError: /home/cmccann/.eclipse/ibm.software.delivery.platform_8.0.0_2046934809/plugins/com.aptana.swt.webkitbrowser.linux.x86_1.0.0.1295409059/os/linux/x86/libcefjni.so (/home/cmccann/.eclipse/ibm.software.delivery.platform_8.0.0_2046934809/plugins/com.aptana.swt.webkitbrowser.linux.x86_1.0.0.1295409059/os/linux/x86/libcefjni.so: undefined symbol: gzopen64)) I suspect the problem is related to running a 32-bit eclipse in a 64-bit environment, but I can't find any mention of this problem being resolved anywhere.
8
73
APSTUD-3858
11/16/2011 10:46:18
Aptana freezes when opening a folder while a file is being created inside it
It's the secound time that my Aptana freezes (and locks the complete OS) when i am opening a folder in the App Explorer while a file is created in the folder I'm try to open. I was able to get my system back via switching to a new shell (STRG + ALT + F1) and killing the Java pid.
0
74
APSTUD-3870
11/17/2011 12:21:42
Very little content in JS Outline when editing JSHint and JSLint
1. Create a new empty Web Project 2. Add the attached files 3. Open the files in editors 4. View outline for each file It is expected that the outline will have lots of content, but only a few items appear.
13
75
APSTUD-3871
11/17/2011 12:27:00
Create utility class to auto-composite wizard images
When creating a wizard, we manually composite a foreground image onto a background image, but this is an intensive process. Instead, create a utility class that auto-composites a supplied top image against a standard background image on demand. Thus, if a person wants to create a new wizard image, they need not manually have to do so. It will center the top image (horizontally and vertically) on the bottom image
8
76
APSTUD-3919
11/30/2011 01:21:01
@formatter:off not working in eclipse plugin
When I use //@formatter:off and //@formatter:on in JS editor content between them is still formatted. Testcase: original code {code} // @formatter:off define([ "dojo", "dojo/on", "dojo/aspect", "dojo/_base/lang", "dijit/form/ValidationTextBox", "dijit/form/Form", "dijit/form/Button" ], function(dojo, on, aspect, lang) {}) // @formatter:on {code} when formatted, all items in array are merged into one line
8
77
APSTUD-3924
11/30/2011 07:06:54
Ability to control the auto closing of quotes and brackets separately
At the moment there is a setting found under Preferences > Aptana Studio > Editors in the 'Typing' page called 'Auto-close matching character pairs'. This auto closing quotes and brackets however I would like the ability control each of these separately so auto closing quotes could be disabled but auto closing brackets could be kept turned on.
1
78
APSTUD-3925
11/30/2011 07:23:25
dynamic language selection (multi language support)
Hi friends, i would be very nice if Aptana would support multiple (scripting) languages in one file. In the current aptana version a *.php file supports syntax highliting and auto completion for php source. In *.html files we have the support for HTML. But very often you have template files where the markup is mixed. I addet you an example as attachment. In this example i have a .html file and the full html support, but the php code is not realy good readable and i have no support for php functions, ... . So it would be very cool if aptana would see that in the html file the <?php starts php code and switch to the php syntax mode for this part. The same think is possible with inline css code. What do you think? thanks and greetings Leo
1
79
APSTUD-3933
12/01/2011 09:46:01
Add "Connection Manager..." link to Remote View menu
Currently, you can only open the connection manager when right-clicking on a connections node in a project. Suggest adding another menu option to the Remove View, as shown here. There might be yet another place for it in the menu bar, though I'm not sure where. When done, please update the documentation here: http://wiki.appcelerator.org/display/tis/Managing+FTP+Connections
2
80
APSTUD-3938
12/03/2011 12:09:31
Ctrl+Shift+/ has two available commands
When pressing Ctrl+Shift+/ I've got the menu with commands to select: Insert Block Comment 1 Select Tag Content 2 It's not very nice to use the set of commands for the often used hotkey, I think.
5
81
APSTUD-3941
12/05/2011 22:41:15
Ship PHP, Ruby and Python features separately from Studio
Let me choose them which I need!
1
82
APSTUD-3942
12/06/2011 08:57:02
FTP + PDT (PHP Build Path)
Rightclick deploy upload (@see attachment) is disabled for all files that match the PHP Build Path Expression, or if none is set, its disabled for all files.
8
83
APSTUD-3947
12/07/2011 10:45:51
Find Bar in split-screen editors copies text from wrong editor
When the multiple editors are visible, the find bar in all editors does not operate correctly. For example, when you open the find bar on the leftmost editor, the cursor will jump to the right editor's find bar and will copy the text from the other editor's search into the now-selected editor's search. Searching in one bar will also copy that search into the other editor.
8
84
APSTUD-3958
12/12/2011 13:44:51
Unable to open remote SQL files using DTP in Aptana 3
I have an SFTP connection set up, through which I am able to successfully edit and save files using the PHP, XML and Ruby editors (file names prefixed with (sftp) in tabs). However, after installing DTP from the Helios site and attempting to open a remote SQL file, I get the following error and stack trace. eclipse.buildId=unknown java.version=1.6.0_29 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/dan/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/dan/.eclipse_keyring -consoleLog -showlocation Error Mon Dec 12 16:12:23 EST 2011 Unable to create editor ID org.eclipse.datatools.sqltools.sqlscrapbook.SQLScrapbookEditor: No file system is defined for scheme: sftp org.eclipse.core.runtime.CoreException: No file system is defined for scheme: sftp at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55) at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:50) at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getFileSystem(InternalFileSystemCore.java:65) at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getStore(InternalFileSystemCore.java:107) at org.eclipse.core.filesystem.EFS.getStore(EFS.java:470) at org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor.SQLScrapbookEditor.doSetInput(SQLScrapbookEditor.java:205) at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3043) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2606) at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3061) at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3088) at org.eclipse.datatools.sqltools.sqleditor.SQLEditor.init(SQLEditor.java:629) at org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor.SQLScrapbookEditor.init(SQLScrapbookEditor.java:170) at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691) at com.aptana.ide.ui.io.navigator.actions.EditorUtils$1$1.runInUIThread(EditorUtils.java:90) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3593) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3286) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
5
85
APSTUD-3961
12/13/2011 13:30:14
Studio Recursively Adds Folders and Folder Contents As Subfolders Upon FileSystem Rename Copy/Paste
If you select a file from the Local FileSystem node, select Rename, copy and paste the folder name in place, then proceed or close the dialog window, Studio recursively adds folders and folder contents as subfolders, perhaps to the maximum operating system depth. Steps to Replicate : 1) Select a folder from Local FileSystem node. 2) Select Context Menu > Rename. 3) CTRL+C folder name string. 4) CTRL+V in place. Actual Results : Please see capture at http://www.screencast.com/t/xxorH2jOc. Even if you close the dialog window, Studio recursively adds the folder and its contents as subfolders, perhaps to maximum folder depth. Expected Results : this action should not have any effect on the file system.
5
86
APSTUD-3969
12/14/2011 14:48:25
Move Eclipse base for Studio to 3.7 and remove support for Eclipse 3.5
3.0.x/1.0.x are built against Eclipse 3.6.2. For 3.1/1.1, it makes sense to move to Eclipse 3.7.1 and drop support for Eclipse 3.5.
13
87
APSTUD-3971
12/14/2011 17:29:22
XML outline does not clear upon replacing current content with erroneous content
Please see capture at http://www.screencast.com/t/JY49KOr4. The XML Outline does not clear if you replace all current content by pasting in syntactically erroneous content. Steps to Replicate : 1) Open Aptana Studio 2) Open XML file 3) Add content that will register in the Outline 3) Select the entire file and paste in syntactically erroneous content Actual Results : The Outline freezes in its initial state. Expected Results : The Outline should clear when this happens.
5
88
APSTUD-3974
12/14/2011 20:29:38
NPE In CommonSourceViewerConfiguration
This NPE turned up in the log file after performing some work on the formatter, however this does not seem to be related to that function : !ENTRY org.eclipse.ui 4 0 2011-12-14 12:28:48.339 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at com.aptana.editor.common.CommonSourceViewerConfiguration.getEnabledTextHoverDescriptors(CommonSourceViewerConfiguration.java:615) at com.aptana.editor.common.CommonSourceViewerConfiguration.access$0(CommonSourceViewerConfiguration.java:607) at com.aptana.editor.common.CommonSourceViewerConfiguration$TextHover.getHoverRegion(CommonSourceViewerConfiguration.java:673) at org.eclipse.jface.text.TextViewerHoverManager.computeInformation(TextViewerHoverManager.java:140) at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:1120) at org.eclipse.jface.text.AbstractHoverInformationControlManager$MouseTracker.mouseHover(AbstractHoverInformationControlManager.java:519) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:201) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211) at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) Steps to Replicate : I haven't reproduced this by re-performing the formatter work. Actual Results : Studio threw a NPE. Expected Results : Studio should be NPE-free.
3
89
APSTUD-5656
12/15/2011 21:33:15
Ctrl+1 comment fixes do not follow PEP8
When PEP8 is enabled, Ctrl+1 comment fixes do not follow the E261 PEP8 rule (at least two spaces before inline comment). Steps to reproduce: - In any Python file, put the same import twice to create a warning (it can be done with most warnings). - On the line that has a warning, press Ctrl+1 and select "Reimport" - There's only one space before the generated comment and a PEP8 E261 warning appears.
5
90
APSTUD-5655
12/16/2011 00:53:02
Code formatter conflicts with PEP8 E261
When a line ending with a comma (for example, when each entry in a dict or a list is on its own line) is followed by an inline comment and the code formatter is enabled, the line is always changed to put a single (or none, depending on the configuration) whitespace between the comma and the comment. This contradicts the PEP8 rule E261 "at least two spaces before inline comment" and creates a warning if PEP8 is enabled. When there's an inline comment, the code formatter should put two whitespaces after the comma.
5
91
APSTUD-3983
12/16/2011 10:13:23
Show dialog warning user of diminished content assist experience when they turn off project auto-build support
If a user turns off auto-building for their workspace, indexes will no longer be updated. We should be able to display a dialog, perhaps via a preference listener, alerting the user that content assist will suffer when they turn off auto-build in the project menu.
8
92
APSTUD-3990
12/16/2011 22:55:07
Editor Does Not Auto-Indent Between Braces After Deleting Enclosing and Enclosed Matched Characters
If you have a pair of braces enclosed by quotes and containing a matched pair, deleting the inner and outer characters in a certain sequence will cause a newline between the braces to move the caret one space forward instead of adding a (possibly indented) newline. Steps to Replicate : 1) Open Aptana Studio 2) Open an editor 3) Enter a double quote (or a single quote if the editor matches these), brace and any character the editor will auto-match so you have something like the sequence "{()}" 4) Delete the first quote, then the second quote, then the enclosed pair so the caret is at the pipe : {|} 5) Enter newline Actual Results: The caret will move forward as if you entered the right arrow key. Expected Results: The editor should add a (possibly indented) newline between the braces. To Do: We expect to do the following as part of this ticket * Ascertain what the current behavior is * Decide what the behavior ought to be * Modify the current behavior to be in line (if necessary)
13
93
APSTUD-3997
12/19/2011 17:51:03
JavaScript content assist not automatic from between contiguous braces
JavaScript content assist is usually automatic from inside a code block, however not when the code block consists of two contiguous braces. Steps to Replicate : 1) Open Aptana Studio 2) Open a JavaScript file 3) Enter "function fun() {|}" and enter the character 'a' at the pipe Expected Results : A content assist pane with alert and Array should pop up automatically. Actual Results : CTRL+Space is necessary to bring up the content assist pane.
8
94
APSTUD-4015
12/22/2011 08:19:48
Aptana Studio 3.0 initially opens files significantly slower than Studio 1.5
In a series of tests, it appears that Aptana Studio 3.x is signifigantly slower than 1.5 when opening files. Test: * Empty workspace, except for one web project * project contains 11 web files, each the homepage of google.com (attached) * Restart studio. Let all processes finish. Right click on a file and open it in the HTML editor: ** Aptana Studio 1.5: avg. 1.75 sec ** Aptana Studio 3.0.7 avg. 2.35 sec * Note that the addition of browser previews in 1.5 seems not to make a difference. Removing them did not materially impact the times. Time to open all files: Select all files, right-click to open all. Aptana Studio 1.5: 1.4 seconds Aptana Studio 3: 1.5-1.7 seconds Studio 3 is reliably slower, though just a hair. It _feels_ slower too. Opening to edit state test: Aptana Studio 1.5: 4 seconds to opening and typing Aptana Studio 3: 8 seconds to open, but 18 seconds until able to type (waiting on colorization) FWIW, the typing speed is atrocious in Studio 1.5 in that file (a few chars a sec at best) but opening is way faster, and the browser tabs seem to have nothing to do with it.
0
95
APSTUD-4030
12/27/2011 11:08:59
Don't block IDE usage when updating user bundles
Currently, when updating Rubles, the script (Commands > Bundle Development > Update User Bundles) may hang the IDE for some time. It has been suggested that moving this into Java would give better feedback to the end user and avoid this. This may depend on the cache files being pulled out of source control and built on the build server instead as part of the packaging steps.
0
96
APSTUD-4036
12/28/2011 03:25:12
The last line in a file is not clickable
Hi, i had this problem in the last couple of weeks. Sometimes there is a line at the end of a file with can't be selected. In the screenshot you see that there is a line after the ?> but i can't select or delete this line. Especially in PHP this is a problem because this whitespace can mess up the script becuase there is already content send to the browser. (if output buffering is disabled = default). Thanks and greetings Leo
5
97
APSTUD-4043
12/28/2011 22:07:52
Encoding problem with Git Commit Message
The problem is that when I git commit with comments in Japanese, I get an unreadable return by git log on terminal(utf-8). (I can read in aptana studio history window but it is unreadable by other tools). Also, one repository that was make another machine (ex:ubuntsu) and it has commit message in UTF-8(Japanese). I Pull to Aptana Studio and the history is unreadable. Steps to reproduce: 1. Create a project that is initialized for git 2. Create a file and commit it. 3. Add a commit message in Japanese. Ex. "これは、gitのコミットメッセージです。" 4. In the project terminal run git log Expected result: The git log should display without error. Actual result: The git log is unreadable.
8
98
APSTUD-4059
01/03/2012 19:24:35
String constructor should not appear off of string instances
JS.4.004 of the wiki Web Acceptance Suite says global methods should not appear in Content Assist list for quoted string objects, however if you enter this in a JavaScript file : "message". (quotes and dot operator included), the methods eval and String, which are classified as Global Functions at : http://www.w3schools.com/jsref/jsref_obj_global.asp, will appear in Content Assist. Steps to Replicate : 1) Open Aptana Studio 2) Open a JavaScript file 3) Enter (including quotes and the dot operator) "characters". Actual Results : Content Assist will include the methods eval and String, which is classified as a Global Function at : http://www.w3schools.com/jsref/jsref_obj_global.asp. Expected Results : Wiki item JS.4.004 states Content Assist from quoted string objects should not contain Global methods.
8
99
APSTUD-4061
01/04/2012 09:55:00
Errors break code folding
When using code folding in a PHP document if the editor find an error in my code it unfold all folded block of codes (functions, classes..) # Paste the following into a document: {code} <?php class MyClass { public function get_id() { } public function get_id2() { } } ?> {code} # Fold both functions # Select "public" at the beginning of one of the functions and replace it with the letter "p". This will force an error in the document. # Both functions unfold.
8
100
APSTUD-4067
01/04/2012 18:39:11
Aptana Debugger 1.7.2 incompatible with the last Firefox 9.0.1
Can NOT debug web files in Firefox 9, because the Aptana Debugger 1.7.2 is incompatible with Firefox 9 and forbidden.
13
101
APSTUD-4068
01/05/2012 00:29:44
Theme export not escaping certain characters, creating an invalid theme file
I exported a theme to a file, reinstall an Aptana Studio, but when I try import it, nothing happened. {code} !ENTRY com.aptana.plist 4 0 2012-01-05 09:21:37.910 !MESSAGE (Build 3.0.0.1319725619) [ERROR] The content of elements must consist of well-formed character data or markup. !STACK 0 org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at com.aptana.plist.xml.XMLPListParser.parse(XMLPListParser.java:85) at com.aptana.plist.PListParserFactory.parse(PListParserFactory.java:33) at com.aptana.theme.TextmateImporter.parse(TextmateImporter.java:139) at com.aptana.theme.TextmateImporter.convertToProperties(TextmateImporter.java:72) at com.aptana.theme.TextmateImporter.convert(TextmateImporter.java:55) at com.aptana.theme.preferences.ThemePreferencePage.widgetSelected(ThemePreferencePage.java:1318) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211) at com.aptana.theme.internal.OpenThemePreferencesHandler$1.runInUIThread(OpenThemePreferencesHandler.java:43) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) !ENTRY com.aptana.theme 4 0 2012-01-05 09:21:37.921 !MESSAGE (Build 3.0.0.1320258654) [ERROR] null !STACK 0 java.lang.NullPointerException at com.aptana.theme.TextmateImporter.convertToProperties(TextmateImporter.java:74) at com.aptana.theme.TextmateImporter.convert(TextmateImporter.java:55) at com.aptana.theme.preferences.ThemePreferencePage.widgetSelected(ThemePreferencePage.java:1318) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211) at com.aptana.theme.internal.OpenThemePreferencesHandler$1.runInUIThread(OpenThemePreferencesHandler.java:43) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) {code}
5
102
APSTUD-4071
01/05/2012 18:14:10
Remove the code which automigrates Studio 2.x projects now we are on Studio 3.1
Currently at startup, we automatically try to migrate any Studio 2.x projects to Studio 3. That's probably no longer necessary after one year and 7 releases later. Removing it should help startup performance on a workspace with a lot of projects.
1
103
APSTUD-4072
01/05/2012 19:13:23
A JS parser node may incorrectly include a comment offset when reporting its end-offset
Have this code in a JS file: {code} // f.event.add(this, "click._submit keypress._submit", function(a) { }) // while(mll.length) { // (mll.pop())(); // } {code} Manifesting the error can be done by trying to format the code. You will notice that the output will be: {code} // f.event.add(this, "click._submit keypress._submit", function(a) { }); // } {code}
8
104
APSTUD-4083
01/06/2012 16:03:34
Inconsistent JavaScript Syntax Error
The JavaScript editor will show a syntax error contingent upon the order of the typed characters. Steps to Replciate : 1) Open Aptana Studio 2) Open a JavaScript file 3) Enter "..;" 4) Note the syntax error to the left 5) Delete the addition from Step 3 and enter a ";", then prepend this with ".." Actual Results : Studio reports a syntax error after Step 3 however not after Step 5 Expected Results : Entering the same content should cause the same validation results.
5
105
APSTUD-4107
01/07/2012 00:52:48
CSS Formatter does not place an 'At-Rule' in a new line (like @media)
The CSS formatter is handling the @media rule correctly for trailing spaces after rule, however if there is a rule before an @media rule the formatter acts as if there is an end of file after the antecedent rule : try formatting : "h1{}p{}@media print{}h2{}@media screen{}@media print, screen{}h3{}h4{}". By doing so you will also notice the formatter does not apply the configured number of lines after a rule if that rule is at the end of the file. Steps to Replicate : 1) Open Aptana Studio 2) Open an empty CSS file 3) Open Preferences > Aptana Studio > Formatter > CSS > Blank Lines and set Lines After CSS Rule to a non-zero value 4) Type "h1{}p{}@media print{}h2{}@media screen{}@media print, screen{}h3{}h4{}" 5) Select Source > Format Actual Results : The formatter does not add the selected number of lines after a rule prior to an @media rule. Expected Results : The formatter should add the selected number of lines after all rules.
8
106
APSTUD-4109
01/08/2012 10:50:36
PHP: Show functions inside conditionals in Outline view
Currently it is not possible to view functions defined inside a conditional in the outline view. They appear to be ignored. {code:title=php|borderStyle=solid} if ( ! class_exists( 'Foo' ) ) { class Foo { static public $foo; public function foo() { } } } {code} without if () it works: {code:title=php|borderStyle=solid} if ( class_exists( 'Foo' ) ) return; class Foo { static public $foo; public function foo() { } } {code}
8
107
APSTUD-4116
01/09/2012 23:55:17
Functions with parameters do not display arg assist if they have an associated sdoc block with no @param tags
Given the following block of code {code} /** * @return {Object} */ function abc(a, b, c) {} {code} We should show arg assist for the "a, b, c" parameters. However, since the sdoc comment does not list the parameters, the type inferencer assumes the function has no arguments. We should perform a sanity check and use what is in the code if no @params are defined. If one or more @params are defined, then the sdoc will win in that case.
8
108
APSTUD-4117
01/09/2012 23:59:14
Function return types should be inferred when associated sdoc comment does not include an @return tag
In the following code snippet {code} /** * @param {String} a * @param {String} b */ function abc(a, b) { return a + b; } {code} We say the return type of "abc" is "void". The type inferencer sees the sdoc comment and does not infer the return statement. Since there is no @return tag in the sdoc comment, the return type becomes "void". In this case, if a function has return statements, we should infer their types, using any @param type hints as appropriate.
8
109
APSTUD-4121
01/10/2012 09:10:36
JS inferencing is not picking up implied globals within function bodies
In the following code, "def" should appear as a property of Window, but does not. However, using a similar construct outside of a function body does work as send by "ghi". {code:title=Implied Global.js} function abc() { def = 10; } ghi = 10; {code}
5
110
APSTUD-4127
01/10/2012 09:29:59
JS inferencing shows instances of conventional prototype inheritance as the constructors prototype
In the following snippet, conventional prototype inheritance is being setup on the MyClass function. When the "new" operator is used with MyClass, it returns a new instance of whatever type is hanging off of MyClass.prototype. When viewing properties on "instance", the content assist popup will display the type as "MyClass.prototype", but it should show as "MyClass". We have a class that is responsible for formatting content in the context info popup. We should simply remove ".prototype" from types, for display purposes only. {code:title=Prototype Inheritance.js} function MyClass() {} MyClass.prototype.property = 10; MyClass.prototype.method = function() {}; var instance = new MyClass; {code}
1
111
APSTUD-4129
01/10/2012 10:36:43
Behavior of JSLint validator options does not match those from JSLint.com
JSLint supports the addition of comments to the top of a JavaScript as a means of setting JSLint options. The comment: /\*jslint white:true\*/ instructs the validator to 'Tolerate messy white space', which more specifically should be set to 'true if strict whitespace rules should be ignored'. (Full documentation of JSLint options here: http://www.jslint.com/lint.html#options) However, in Aptana Studio the opposite is occurring. So setting 'white' to true causes whitespace to become important, rather than be ignored as expected. I've found that others have mentioned this behavior on Stack Overflow: http://stackoverflow.com/questions/6893045/jslint-options-doesnt-seem-to-work-on-aptana-3 http://stackoverflow.com/questions/8597253/problems-with-jslint-options-in-aptana-studio-3 I've also found the same reversed logic with: 'plusplus', 'undef', 'regexp', 'nomen', and 'newcap' (and there are likely others). Other observations: - the logic for 'sub' is correct - 'continue' signals a 'Bad option' warning. - 'eqeq' errors do not seem to be caught.
8
112
APSTUD-4130
01/10/2012 11:56:10
Replace/Find doesn't work with in a few cases dealing with whitespace
In a previous version I was able to use a regex to remove trailing whitespace using the find and replace feature. Since latest release I have been getting an error saying that the "Expected text for replace to be equal to the selected text". For my regex I am using '[ ]+$' replacing with ''. The single quotes in my example are not typed in the box, but rather printed here for clarity.
5
113
APSTUD-4139
01/11/2012 08:45:08
Latest Studio updates has broken eclipse RSE project support
Upgraded Studio this morning and now I can't access any of my RSE projects. I use a Mac OSX desktop however all my projects are on a Linux VM, I use the Eclipse RSE (Remote System Explorer) plugin to allow me to connect to my projects via SSH. When I first launch Titanium all the RSE projects are closed (as expected), once I open any of the projects it opens (shows the files etc), then instantly closes again. I've checked the workspace .metadata/.log but no errors are being generated. Titanium development on halt for me at the moment :(
8
114
APSTUD-4142
01/11/2012 14:49:20
Misspelling In Formatter
The formatter contains a misspelling in the tab size configuration dialog. Steps to Replicate : 1) Open Aptana Studio 2) Open Preferences > Aptana Studio > Formatter 3) Select a language and highlight the Indentation tab 4) Set the Tab Policy drop down selection to Tabs Only 5) Set the Tab Size to 0 Actual Results : The dialog will return the message "Number should be greater then or equal to 1" (keyword is "then"). Expected Results : The dialog should return the message "Number should be greater than or equal to 1" (keyword is "than").
1
115
APSTUD-4145
01/11/2012 15:43:42
Refresh the view after an file upload
Hi, if i drag and drop a file from a local folder to an remote folder, the upload works fine, but the remote view is not reloaded, so you don't see the uploaded file. I think i would make sence if you reload the target folder after the upload was finished. thanks and greetings Leo
2
116
APSTUD-4152
01/12/2012 09:13:13
Default colors in the diff view are not readable
The diff view is not readable with the default color theme. The black bars on the black background have zero contrast with each other.
5
117
APSTUD-4170
01/17/2012 02:30:59
CSS validation errors on valid CSS3 (linear-gradient)
The CSS validator is reporting errors for the properties: -ms-linear-gradient -o-linear-gradient linear-gradient see screenshot. This was reported and marked as fixed in #APSTUD-1495 but I can't re-open the ticket and I can't add attachments to it so I've created a new one instead.
3
118
APSTUD-4175
01/18/2012 09:32:14
Line numbers off in preferences, but always go on when opening new editor window
I have line numbers off in preferences. This is ignored and line numbers are shown when opening new html, js, css files (probably others). Doesn't seem to affect .py files. Only way to get rid of line numbers is to right-click on line numbers in context menu after opening new file. (Strangely, this doesn't do anything first time, but works after right-clicking and unticking line numbers at a second attempt.) After closing a file, when opening it again the line numbers are back. I was using 3.0.5 before and this was not a problem.
5
119
APSTUD-4178
01/18/2012 13:50:02
JS Outline in JS and HTML editors does not match when using the same JS code
# Create a new web project # Create a new JS file # Paste in the following content {code}(function(global) { var iadt = function(selector, context) { // return new Innr(); }; var Innr = function(selector, context) { this.selector = selector; this.version = '1.1'; }; iadt.sayHello = function() { alert('sayHello()'); }; iadt.inner = new Innr(); iadt.prototype = iadt.inner; global.iadt = iadt; })(window); iadt.staticfn = function() { alert('iadt.static'); } iadt.inner.newfn = function() { alert("newfn"); } function test() { var c = new iadt(); iadt.staticfn(); alert(c.version); c.newfn(); // c. --> no proposal // iadt. --> no proposal } {code} # Create a new HTML document # Create a script element # Paste the above code into the script element The outline in JS and the outline below the script element in the HTML outline do not match (see attached images).
5
120
APSTUD-4179
01/18/2012 16:29:23
Samples View Does Not Reflect All Edits Or Project Deletions
Sample edits now show up immediately in the Sample view, but if the end user deletes the Sample project the Samples view still displays the entry until the end user cycles Studio (please see capture at http://www.screencast.com/t/sVXo2DW2jdU). Also, editing a Sample then undoing edits and saving causes some odd effects (please see capture at http://www.screencast.com/t/7Knbg4TqE). Steps to Replicate : 1) Open Aptana Studio 2) Select File > New > Ruby Project, select a project name, click the Next button, select the Ruble Template, then click Finish 3) Edit <ProjectName> > samples > project_samples.rb > project_sample string and save 4) Undo the change from Step 3 and save again 5) Delete the new project from Step 2 Actual Results : The Samples view does not reflect the edit from Step 4 or the deletion from Step 5. Expected Results : The Samples view should reflect all edits and Sample deletions as well.
13
121
APSTUD-4183
01/19/2012 05:56:20
Support rbenv usage
I'm using aptana studio 3 in my mac, osx lion, and I'm using rbenv to install rubies, but when I try to run the debugger in aptana I always got this error: /Users/nebiros/.rbenv/shims/ruby: line 4: exec: rbenv: not found I already set some environment variables in the aptana ruby debug configuration window: RBENV_ROOT: /Users/nebiros/.rbenv RUBYLIB: /Users/nebiros/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1 I'm trying to run this command: - Program: /Users/nebiros/.rbenv/shims/bundle - Interpreter Arguments: -d - Program Arguments: exec rake dreadful_dog:process_content --trace -- -f ./assets/test_ssss_content.zip -d /tmp - Working Directory: /Users/nebiros/Projects/dreadful_dog
20
122
APSTUD-4184
01/19/2012 06:24:46
css formatter breaks the font shorthand by adding an extra space at every format
Hi, Formatting css turns this code: {code:none} h4 { font: bold 12px/1.5 Tahoma; } {code} into: {code:none} h4 { font: bold 12px /1.5 Tahoma; } {code} which breaks the property in some browsers (i remember having this problem with some IE versions before) and it doesn't stop there, every time I format the same code it adds an extra space there. for instance this is the output after 10 times formatting the code: {code:none} h4 { font: bold 12px /1.5 Tahoma; } {code}
8
123
APSTUD-4185
01/19/2012 08:07:48
Content assist for nested JS in HTML auto-inserts and suggest incorrect proposals
While validating another ticket, I tried typing in the following HTML: {code} <input onkeydown="if (event.keyCode == 13) document.getElementById('MG2-submit').click();"/> {code} I ran into a number of issues. # When I typed "event." it became "eventhis." # On another occasion, when I typed "event.", it became "event$$." # After I managed to get around that, proposals off of "event." showed global properties. Ideally, this would show some of the Event properties. # As I continued to type "event.ke", I started seeing global proposals starting with 'e'. Continuing more would give a strange alternation of globals starting with the last letter to showing all globals again. # Once I got to "document.", I got a list of globals again instead of document properties. # Continuing to type "document.getElementById" showed the same behavior when I was typing "event.keyCode": alternation of all globals and globals starting with last typed letter. # When I typed "document.getElementById('|')" and my cursor was at '|', I starting seeing HTML attribute proposals. Note that '\'' and ')' were auto-inserted, so I did not type those. # As I typed the contents of the string in getElementById, I saw the global-and-globals-with-last-letter behavior described above. # Likewise when typing ".click" I suspect this is due to the JS being in an unparsable state with JSContentAssistProcessor dropping back to lexeme-based location type calculation.
8
124
APSTUD-4188
01/19/2012 09:39:27
Merge Studio documentation into Guides & Docs
* Take current wiki content in tis and move into guides space * Create redirects for the most common studio pages * Updating links in our current project
0
125
APSTUD-4189
01/19/2012 09:40:02
Add Dynamic Help for JS
* Update Examples for better formatting Display JS metadata in Help View (see Aptana Studio 2.x for example) {panel:title=Properties} @name //description Parameters _parameter/@name (parameter/@type_): parameter/description Returns return-value Remarks remarks Example 1: ... Example 2: ... Supported Platforms browser/@platform: browser/@version, ... Specification specification/@name: specification/@version See also * JavaScript Core Reference * HTML DOM 0 Reference * HTML DOM 2 Reference * Titanium Mobile Reference (if applicable) {panel} Hover and Dynamic help for functions is identical to properties, except it shows the method signature. See http://www.eclipse.org/articles/article.php?file=Article-DynamicCSH/index.html for information on how to contribute dynamic help. See ScriptDocHelper and JSFileLanguageService for the majority of the implementation, including both the top content, and the list of resources at the bottom. Suggest we try running any JS code blocks through the formatter.
20
126
APSTUD-4193
01/19/2012 09:42:47
Add icon to "Open HTML docs" for current content assist entry for JS language
Amend the current hover tooltip to add a link the HTML documentation for the specified item (if available). For core HTML, JavaScript and CSS functionality where the documentation is provided by standard metadata files, the URL can be constructed to point to In-Studio help. See Studio 2 for an example of this: {code} /** * * @param topics * @param lowerName */ private void addSelectorHelpTopics(ArrayList topics, ArrayList generalTopics, String lowerName) { ElementMetadata el = environment.getElement(lowerName); String anchor = ""; //$NON-NLS-1$ if(el != null) { anchor = el.getFullName(); String url = "/com.aptana.ide.documentation/html/reference/api/CSS.element." + el.getFullName() + ".html"; //$NON-NLS-1$ //$NON-NLS-2$ HelpResource hr = new HelpResource("'" + lowerName + "' Selector", url); //$NON-NLS-1$ //$NON-NLS-2$ topics.add(hr); } HelpResource index = new HelpResource("CSS Selector Reference", "/com.aptana.ide.documentation/html/reference/api/CSS.index-elements.html#" + anchor); //$NON-NLS-1$ //$NON-NLS-2$ generalTopics.add(index); } {code} For other elements (like Titanium properties) perhaps there is a mechanism by which we can provide a custom resolver to generate the URL. It could also be that this might be provided by an extension point or class property when the contribution happens. See https://wiki.appcelerator.org/display/tools/In-Studio+Documentation for details.
13
127
APSTUD-4198
01/19/2012 09:51:12
Improve additional information popup for JavaScript
From https://wiki.appcelerator.org/display/tools/In-Studio+Documentation {panel:title=Properties} @name: @type-of-property (i.e. Boolean) //description Supported Platforms: browser/@platform: browser/@version {panel} {panel:title=Functions} @name(parameter/@name: parameter/@type, ...): @return-type-of-function //description Supported Platforms: browser/@platform: browser/@version {panel}
8
128
APSTUD-4245
01/20/2012 14:14:35
Add CSS index content to the Index View
CSS content is indexed in web projects. The information store there should be included in the Index View under a separate top-level CSS node.
8
129
APSTUD-4246
01/20/2012 14:14:54
Add HTML index content to the Index View
HTML content is indexed in web projects. The information store there should be included in the Index View under a separate top-level HTML node. * Show classes and ids under the top-level node * Content provider and label provider for HTML * Use content assist model as nodes for view * Query index for content * Some icons
13
130
APSTUD-4247
01/20/2012 15:43:01
Git not using user.name and user.email from .gitconfig
I noticed that when I do a commit using the gui (specifically the Commit command in the App Explorer gear menu), git isn't using the user.name and user.email from the .gitconfig in my home directory. I'm running the Studio 3 Beta plugin in Galileo on Windows XP, and I'm using msysgit 1.7.1. When I do the same commit from the git bash prompt, it works fine. Is there a separate global git config for Studio 3? Is there an easy way to sync this with the .gitconfig in my home directory?
8
131
APSTUD-4268
01/22/2012 00:18:31
Studio Editor Adds Superfluous Line Number
Please see capture at http://www.screencast.com/t/ZWAZKhXWMit2. Since upgrading to Titanium Studio 1.0.8, the Ruby editor adds a superfluous, inactive line number after a defined construct at the end of the file. Steps to Replicate : 1) Open Aptana Studio 2) Open a Ruby file or any file Studio handles 3) Add any defined construct such as a function definition, if statement or loop to the end of the file Actual Results : The editor adds an extra line number after the end of the construct. This did not happen in version 1.0.7 Expected Results : The new line numbers should only extend to the end of the construct.
13
132
APSTUD-4257
01/23/2012 13:51:12
Refactor JS hyperlinks
Currently we have a single JSHyperlink class. However, that class' open method contains a number of strategies that used to determine how to locate the declaration associated with the link. Each strategy should be broken out into separate hyperlink classes.
13
133
APSTUD-4267
01/24/2012 00:33:47
HTML Colorization Disappears
If you open an HTML file twice, once from the FileSystem node and once from the Project Explorer, then close one of those files, the colorization of the remaining file will disappear. Steps to Replicate : 1) Open Aptana Studio 2) Open an HTML file from the Local FileSystem node in Project Explorer 3) Open the same file from Step 2 in a project 4) Close one of the file instances Actual Results : Colorization will disappear from the remaining file instance. Expected Results : Colorization should remain.
5
134
APSTUD-4269
01/24/2012 11:51:49
Run As > Ruby application on a Rakefile doesn't work
If you right-click on a Rakefile and choose Run as > Ruby application (or debug), that fails.
8
135
APSTUD-4270
01/24/2012 13:52:18
NPE in DeploySettingsHandler
The log from ticket APSTUD-4265 shows a separate NPE issue from the handler to show FTP deployment settings. {code} !ENTRY org.eclipse.ui 4 0 2012-01-24 14:33:54.330 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at com.aptana.deploy.ftp.internal.handlers.DeploySettingsHandler.execute(DeploySettingsHandler.java:79) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:820) at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:806) at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:796) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) {code}
3
136
APSTUD-4275
01/25/2012 07:12:03
Heap exception while indexing large web project
This is currently occurring on the development (3.1) branch # Create a new empty workspace # Create a new empty web project # From the command-line, checkout closure-library (svn checkout http://closure-library.googlecode.com/svn/trunk/) # Drag the contents of the "trunk" directory into you new project Indexing proceeds slowly and after a while a Java heap exception will be displayed in a dialog
0
137
APSTUD-4281
01/26/2012 14:41:55
As a developer I want to be able to turn on and off specific validators for build vs reconcile
We need some way to turn off validators individually, and in particular between build vs reconcile. This stems from the poor performance of the JS validators during large builds. They should default to be on for reconcile (only the ones currently on by default) and off for build (likely the same for the CSS/HTML validators). We'll need a preference page similar to the validator pref page we had before (maybe just re-use/fix it to work). One suggestion is to reuse the existing pref page and instead have a table at the top with two checkbox columns, one for build and one for reconcile. A less-optimal solution is to have two separate lists, one for each type of interaction. Perhaps we should say "On Typing" as opposed to "Reconcile"? Perhaps that is more user-friendly? Tasks: * Change the pref page * Add some methods/fields to the participants to mark them as validators * Use a more sane preference key scheme to store the enable/disable * Create a migration function to migrate the old pref keys to the new scheme * Some build participants need to be unchangeable or hidden from the end user (like indexing)
40
138
APSTUD-4282
01/26/2012 14:54:23
Improve Unit test coverage on the 'participant' branch
Improve these Unitests at the 'participant' branch: * ParserPoolFactory - No coverage * ParseState - 78% (addProperty - 0%, toString - 0%) * ParserPool - 79.3% (create - 50%) * AbstractBuildParticipant - 94.3% * ReconcileContext - 43.9% (openInputStream - 0%) * UnifiedBuilder - 0% * BuildParticipantManager - 61.3% (getAllBuildParticipants - 0%) * IndexBuildParticipant - 44.8% (clean - 0%, deleteFile - 0%, getURI - 26.9%) * CSSFileIndexingParticipant - 97.1% * CSSTaskDetector - 78.4% (deleteFile - 0%) * CSSValidator - 89.3% * HTMLTidyValidator - 83% * HTMLTaskDetector - 92.7% * JSParserValidator - 87.5% * JSFileIndexingParticipant - 48.5% (processParseResults - 47.3%) * JSCAFileIndexingParticipant - 75.9% (index - 72.9%) * JSTaskDetector - 79.8% (deleteFile - 0%) * IndexManager - 83.8% * AbstractFileIndexingParticipant - 12.3% (almost all methods - 0%) * FileStoreBuildContext - 75.6% (getFile - 0%, getProject - 0%) * BuildContext - 85.3% * IndexContainerJob - 0% (all) * IndexProjectJob - 0% (all) * IndexFilesOfProjectJob - 58.2% (run - 45%) * IndexRequestJob - 44.1% (getFileContributors - 0%, belongsTo - 0%)
40
139
APSTUD-4285
01/27/2012 07:13:11
Research heap exception and excessive I/O during indexing JS
Some profiling has been done already which has identified that: # A large number of strings/char[] are being held onto during indexing. I think it's safe to assume that's related to JS inferencing, but that will need to be confirmed. Once that is verified, we need to look into why that is happening. # There are a huge number of disk writes occurring during JS inferencing. I confirmed this by re-indexing the referenced project with JS indexing on and off. We know the issue is coming from JS inferencing due to the fact that Index is not designed to support reads when doing lots of writes. We will need to determine how we can avoid or how we can minimize reading from the Index during inferencing.
20
140
APSTUD-4289
01/30/2012 08:55:47
JS indexing stores duplicate user agents on properties and functions
While gathering stats on how JS indexing info is stored, I noticed that some properties and functions were quite large in the index (>4K). Looking at a few of these, I see that there is a large amount of user agent added to some of the entries and many of these are duplicates. So, we will need to switch over to using a set to contain user agent elements and user agent elements themselves will need equals and hashCode implementations
8
141
APSTUD-4292
01/30/2012 09:16:15
Consider caching UserAgentElements used in JS indexing
During profiling of indexing for a large JS project, I noticed that we had a large number of allocations of UserAgentElements. There is a finite list of these, so we should be able to cache these instances, thus avoiding a large number of allocations and garbage collection steps.
8
142
APSTUD-4298
01/31/2012 07:45:57
Consider using a special token to indicate that a given JS type or member should have all user agents associated with it
Given the number of user agents we attach with inferred types and members, we should use a custom tag to indicate that the item should have all user agents associated with it. Looking at a large method entry in the index, we could cut down one entry from 3359 to 2595, for example. This may not sound significant, but in the closure-library this could potentially shave off as much as 42MB from a 71MB index given the high number of property and function counts there. This, of course, would need to be verified and should be considered an upper maximum in file size reduction
8
143
APSTUD-4301
01/31/2012 09:50:25
Reduce number of refreshes in Git Index and reduce work done during refresh
Previously I thought we could entirely remove refreshes when files change inside a git connected project. Turns out that we couldn't but there are other things we can do: - When we get resource change events, only update the changed files, don't do a full batch refresh. - Don't call batch refreshes from some actions like deleting files/folder or moving files through our UI. The connected filewatcher on the repo should pick up a file event or two to the "index" file which will trigger a batch refresh. - When we do refresh we call one process and then we spawn off 3 parallel jobs to each run another process to update our listings. We may be able to reduce the number of processes down to as low as one in most cases (or two in worst case).
8
144
APSTUD-4311
02/02/2012 09:18:29
Create JavaDocs as part of the build process
During the Aptana Studio and Titanium Studio build process, we need to create a set of JavaDocs to make it easier for end users to navigate and understand. This ideally is placed into a "javadocs" folder in this area http://hudson-master.hdqt.appcelerator.com/hudson/job/studio3-feature-master/lastSuccessfulBuild/artifact/build-artifacts/, so that they can be uploaded as part of the nightly sync. There should be some set of ANT tasks we can use to generate the docs. We also need to replace the default stylesheet with the JBoss one: https://community.jboss.org/wiki/JBossorgStylesheetsForJavadocAndJXRXrefReports?_sscc=t
13
145
APSTUD-4318
02/03/2012 07:34:23
Drag and drop of text no longer works
I noticed several days ago that the "drag and drop of text" feature was no longer working in the nightly build. I was in the middle of a deadline project, so I wasn't able to do further troubleshooting. However, today I downloaded 3.0.8 release and created a new workspace, made sure the "enable drag and drop of text" option was checked, and verified it was working. I then updated to build: 3.0.9.201202021720 (beta) and verified it was still working. I next updated to the nightly build: 3.1.0.201202021828, and the problem is now present.
13
146
APSTUD-4322
02/03/2012 09:33:44
JS content assist does not show dotted properties in new-statements
In the following snippet: {code} var com = { aptana: { myFunction: function() {} } }; var invoke = com.aptana.myFunction(); var instantiate = new com.| {code} as I type "com.aptana.myFunction()" in the "var invoke" declaration, I get content assist off of "com." which includes "aptana". However, in the "var instantiate" declaration, if my cursor is at the '|' character, I see a list of globals. Note that I tested with content after that line and the problem persisted, so this is not an EOF issue.
3
147
APSTUD-4325
02/03/2012 12:13:38
Investigate why the JS index file size varies drastically depending on language-level indexing order
See parent ticket for how to replicate this issue. This ticket is just to figure out the root cause and file related tickets
13
148
APSTUD-4327
02/03/2012 12:48:38
Blank line in validation preferences
See the attached image. I have a blank line as one of my selectable options. It may be what used to be "parse errors". This appears for multiple languages, not just JavaScript.
5
149
APSTUD-4328
02/03/2012 13:57:44
Problems view does not update until project is rebuilt
# Paste the following into a new HTML file, inside a project: {code} <html> <head> <script type="text/javascript"> function alertMsg{alert("Popup");} </script> </head> <body> <form> <input type="button" value="Show alert box" onclick="alertMsg()" /> </form> </body> </html> {code} # Note there is an error in the gutter around alertMsg{}, but not in the problems view # Save the file. Note, no change in the problems view # Right-click on the project, and choose "Build" # Note the problems view now contains a corresponding error
13
150
APSTUD-4329
02/05/2012 10:26:03
The "Choose Connection" dialog won't "Remember my decision"
The goal: - A single directory in my project ("src"), containing files for the root of the site I am developing. - A local project copy which automatically syncs with the development server via an SFTP connection ("dev"). - An additional FTP connection ("prod") to the production server, to which I can deploy (or "Synchronize") "src" at will. The Setup: - Created two connections, linking "src" to "dev" ("Local <\-> Dev") and "src" to "prod" ("Local <\-> Prod"). - Configured "Deployment Settings" (from right-click on "src") with settings for "dev". - Configured "Properties->File Transfer->Connection" (from right-click on "src") to refer to "dev", with "Use the connection as default" checked. The problem: 1. Change a file and save it. 1r. The "Choose Connection" dialog appears, with "Local <-> Prod: prod" automatically selected and "Remember my decision" unchecked. 2. Select "Local <-> Dev: dev". 3. Check "Remember my decision". 4. Click "OK" 4r. The Synchronization takes place 6. Repeat Step 1, on the same file. 6r. Steps 1r, 2, 3, and 4 should now be skipped but they are not. Additional details: - Primary Project Nature: Web - Additional Project Nature: PHP - Project contains a single directory called "src", containing files for the root of the website I am developing. - Connection Manager lists two connections (in addition to the "Default"): -- "Local <-> Dev": Associates the local "src" directory with an SFTP connection to a sub-directory on the development server -- "Local <-> Prod": Associates the local "src" directory with an FTP connection to the root directory on the production server, which is on a completely different domain than the development server. - The "dev" server is hosted with Hostmonster on a shared server. - I do not know how or with whom the "prod" server is hosted. SFTP does not seem to be available on this server, hence my use of FTP instead.
5
151
APSTUD-4330
02/05/2012 10:45:48
"Choose Connection" dialog refers users to a non-existent property page "Properties:Synchronization"
1. Right-click a directory in the project and expand the "Deploy" menu item. 2. Select "Deploy -> Run Web Deployment Wizard...". 3. Configure an FTP connection, selecting "Automatically sync my changes with the remote site". 4. Click OK and allow the sync to take place. 5. Change a file in the project and save it. The "Choose Connection" dialog displays. The caption underneath "Remember my decision" reads as follows: "Access this setting in the Properties:Synchronization property page." As far as I can tell, this property now resides in the "Properties:File Transfer" property page.
1
152
APSTUD-4335
02/06/2012 06:16:36
Broken Linux links on preview.appcelerator.com
On the website http://preview.appcelerator.com/ the x64-linux links are broken for Aptana Studio.
5
153
APSTUD-4342
02/07/2012 00:49:08
Outline appears broken
Hi, sience a few days the outline view is broken. This happens in .php, .js files as far as i know. I added you a screenshot. Thanks and greetings Leo
13
154
APSTUD-4346
02/07/2012 13:49:59
Replace HTML Tidy Validator with a build participant using our AST/parser
We currently use Tidy as a separate vendor plugin that provides the JAR and pipe the HTMl source to it, then read the output and generate warnings/errors. This approach has been notably slow and memory-intensive. Given that we are already parsing the file and generating an AST, it should be much faster and leaner to provide a build participant that traverses the AST to provide all or most of the same functionality. Also, we'd have control over the impl so we can update as necessary for changes to HTML (like HTML 5 elements, which tidy complains about).
0
155
APSTUD-4353
02/08/2012 09:59:48
PHP: Keep end ?> on same line as previous
I badly write in English, I will write an example Aptana: {code} <h1 class="heading"><?php echo $category->name;?></h1> <?php if($page == 1): ?> <?php for($i = 0; $i < count($vip_fix_items); $i++): ?> <div class="vip_items">...</div> <?php endfor;?> <?php endif;?> {code} Netbeans: {code} <h1 class="heading"><?php echo $category->name;?></h1> <?php if($page == 1):?> ....<?php for($i = 0; $i < count($vip_fix_items); $i++):?> ........<div class="vip_items">...</div> ....<?php endfor;?> <?php endif;?> {code}
0
156
APSTUD-4354
02/09/2012 09:01:28
PHP Namespaces - Allow non-local functions to be called statically
I've noticed that many of the newer PHP 5.3 based frameworks contain an autoloader of some sort that allows for developers to use classes in files that have no reference to said class. When trying to call a class where there is no namespace though, I am told there is no proposal. It would greatly help me as a developer to have the functions of a class proposed for me when I don't have a namespace defined. I've attached a couple of images to help explain what I'm asking for. In the first image, where there are no proposals, because of how the way the framework is written, it would be great if the function list was there even though a namespace wasn't called. Here are just two frameworks that allow for this: https://github.com/laravel/laravel/blob/master/application/controllers/home.php https://github.com/fuel/fuel/blob/1.1/master/fuel/app/classes/controller/welcome.php
13
157
APSTUD-4356
02/09/2012 14:20:56
PHP: Unable to format string with interleaved comments
Attached PHP file has the code that fails plus the error code Code: {code} <?php $sql = // 'SELECT r.id ' . // 'FROM record AS r '. // 'WHERE status = \'closed\' '. // 'AND flags & 1 = 0'; echo $sql; ?> {code}
13
158
APSTUD-4357
02/09/2012 15:49:16
Support usage of CommonJS Modules "require" method in JavaScript code completion
Given the following: {code:title=MyModule.js} exports.sayHello = function(name) { Ti.API.info('Hello '+name+'!'); }; exports.version = 1.4; {code} {code} var myModule = require('MyModule'); myModule.sayHello('Kevin'); //CA prompts "sayHello" and ContextInfo for "name" parameter {code} We present content assist against the functions and properties defined in the module file * This would require changing the index to show what individual files require and filtering that in content assist.
13