GithubHelp home page GithubHelp logo

aptana / studio3 Goto Github PK

View Code? Open in Web Editor NEW
1.1K 143.0 484.0 303.97 MB

This repository contains the code for core components of Aptana Studio 3.

Home Page: http://aptana.com/products/studio3

License: Other

JavaScript 35.62% CSS 7.04% HTML 1.07% XSLT 0.14% Shell 0.01% C 0.11% C++ 3.37% Java 36.57% Makefile 0.13% Ruby 15.69% Tcl 0.02% Batchfile 0.01% Lex 0.16% Roff 0.01% NewLisp 0.04% SystemVerilog 0.04% AMPL 0.01% Objective-C 0.01%

studio3's Issues

[Feature Request] Workspace Launcher splash has a "create new" checkbox

Hi. I've been thinking about Aptana and workspaces a lot over the past months. I choose a different workspace for each project I work on rather than loading up multiple projects at within the same view. It feels less cluttered and allows me to easily save which editor windows I have open per project.

So when you first open up Aptana, it shows a splash screen ("Workspace Launcher") with an input box which, by default, specifies the absolute path to the last workspace you used.

If I were to implement something quick for myself, I would just add a checkbox (checked by default, otherwise set to w/e it's last setting was) that says "Create New Workspace if none exists".

When the user types in a path to a workspace that doesn't exist:

  1. If that box is checked and , Aptana does what it normally does, creates a workspace.
  2. If the "Create New" checkbox is off, then Aptana would instead display a message box "Cannot locate that workspace. Would you like Aptana to create a brand new workspace?" and then act depending how they answer the message box question.

This feature would prevent the inadvertent creation of new workspaces. A drawback is that the desired creation of new workspaces now has an extra step.

Also, if I was going to go balls out on the Workspace Launcher, I would go as far as to change the workspace input box to only show the folder name of the workspace (the path of the workspace can be assumed to be whatever the user has it set to). That would entail the addition of... I'll just summarize because I know how low in priority this other stuff is, lol.

Summary of balls out changes:

-Input box becomes a relative input box that shows suggestion matches as you type in the workspace name.
-Add button for changing the "Workspace" folder to search in.
-Add button to manually browse to a workspace that exists outside of the user's Workspace folder (allow for such locations to be searched and suggested by the input box once they've been accessed before).
-Have workspace suggestions appear as color coded depending on the project type (rails vs std Ruby project, vs PHP without rails or any other langs specified).
-Make the dialog window's background of a darker theme
-Have a design person draw really slick looking buttons with a sleek, blue mouseover light shading effect.
-Have the dialog's opacity fade out instead of having the box suddenly gone.

[bug] Comments on 1st line of CSS file causes random error indicator / message

With a /* comment on the first line of a CSS file there is an error indicator to the left (red x)
aptana-css-comment-error-indicator

Hovering on the red x dispays a seemingly random error message
aptana-css-comment-error-desc2
aptana-css-comment-error-code-desc

How to reproduce issue:

Create a new CSS file, with a .css extension.
enter /* on the first line of the file.
Save the file.
The red x will appear, hover for the error description.

System info:

Aptana Studio 3, build: 3.4.1.201306062137
Build: jenkins-studio3-rcp-master-292 (origin/master)
Date: 06 June 2013, 21:39:35

OS does not affect this issue, I see the same problem on Linux, Mac and Windows

[Format] Troubles with certain code

There's a bug with Aptana PHP about formatting.

Indeed, if you've got these kind of codes, formatting won't work.

$templates[$item->_id->{'$id'}] = $item->name;

The formatter dislikes {'$id'}.

and

$this->view->page ? : 1; 

The formatter dislikes the fact that there's no value on "true" case.

Select search string in find/replace-Bar after Ctrl+F

Hello folks,

I have a little advice for the find/replace bar in the Aptana editors. Everytime I press Ctrl+F I immedtiately type in some search string, but in the Aptana Editors after pressing Ctrl+F the search string I used in my previous search is still in the find/replace-bar (and also not selected). The result is, that I often search for strings like "newstringoldstring" ;-)

Could you please change the behaviour to select the search string everytime I press Ctrl+F?

Thanks in advance!

Bye

keyboard and mouse freeze on ubuntu 11.10

While using Aptana, in ubuntu 11.10, the keyboard tends to lock up all response to mouse and keyboard commands.

This is produced when you right click on the project explorer window in aptana. The only keyboard response it will take in is the super button. The unity bar will open from ubuntu and then it won't let you type anything or click on anything.

Aptana and ubuntu install are pretty fresh only two weeks old.

Code completion problem...

First off, great job on the latest update to Aptana 3.0.3. The issue I have noticed is that when the user is typing, the code completion context list shows results for the last letter typed, as opposed to matching what has been typed so far. Example: when I type the word "this" the context menu shows the result for "history", which most of the time leaves me with "thistory"....weird. Just wanted to let you guys know. Thanks!!!

SQL syntax highlight

Feature to add SQL syntax highlight in Aptana Studio.
It would be really useful

[FEATURE REQUEST] Angularjs plugin

I have googled and searched forums and haven't been able to find any support for angularjs, I'm not sure if this is the correct way to request new features, so apologise if this is in the wrong place.

[Feature Request] Twig Support

I would like to see a Twig editor in Aptana (with syntax highlighting and so on) for Twig templating files. These files are used by Symfony for example.

Search Form behavior on split view

When you have more than 1 View regardless wheter its the same file or different files and you want to search (CTRL-F) for a word, the search Panel appears on all views and only searches the main view.

PHP Highlighter crashes randomly

When writing PHP code, especially with many conditional constructs like

<?php if(...): ?>
html code here
<?php endif; ?>

cause the highlighter to crash. When crashes, any text becomes black/white and some characters are not recognised when they're typed in (for example: once the highlighter crashes, I try to enter "<?php" but only "<?pp" is recognised - it ignores a few characters like "h" and "e").

Not sure if this is a issue related entirely to the PHP highlighter, but this may also affect other highlighters as well.

[Bug] Preference no use

Hello,

I work a PHP Project on Aptana and Git.

In this project, we are some PHP Classes with extension *.class
But When I want commit, the change log for thos files say "Appears to be a binary file"

p1

In Preferences -> Team -> File Content , I add *.class with ASCII Text
In Preferences -> Team -> Ignored Resources, I uncheck *.class

p2

How see the changes log before commit ?

Thanks

Add Content Assist to the Canvas 2D Context (Javascript)

Would be very good if you guys add support to the CanvasRenderingContext2D Interface.

For example, the following should display the methods of the context, but this does not occur:

var canvas = document.getElementById( 'canvas' ),
    context= canvas.getContext( '2d' );

context. // ctrl + space show nothing

I tried adding the methods and properties of the Context on my own to the file metadata/dom_5.xml that is inside plugins/com.aptana.editor.js_3.0.3.1337868211.jar, but Aptana does not seem to recognize, this is the correct way to add new Classes/Elements to the DOM content assist supported by Aptana?

Permission denied when git on Windows7 x64

I've try git my Project in Aptana.
But when I configed my SSH Keys, user.name, user.email, it still didn't work.

It only worked when i run as an administrator.
I've disabled UAC but it still doesn't work when i ran it as not an administrator.

Dark IBeam Cursor

I'm using Ubuntu 11.10 with Aptana Studio 3.0.8. When using dark background color in code editor, the ibeam cursor didn't change to lighten color so it was completely invisible.

[Feature request] A package that would play nicely with Ubuntu

Setting up Aptana is the most troublesome thing when I'm creating new Ubuntu instalation on one of my machines. All the other apps play nicely with Unity, they politely appear in app search bar and display proper icons in app switcher. Please make it so Aptana is also like that, I love it and want to be easier to set up

Remote debug with rdebug-ide can't stop on any breakpoint

Remote debug with rdebug-ide can't stop on any breakpoint.

This bug maybe the source code search problem, and I tried make the remote script and the local source code on the same path( e.g. /opt/test/test.rb), then It stopped on the right breakpoint.

Crashes on OpenSuse 12.2 64bits

Aptana 3.3.2 is so heavy (8 gb), and will crash for the first error sent to the console when using Python for web.
BTW: it is fast on Windows 7.

Unable to disable "Run Focused Unit Test" shortcut

Version: latest available Aptana Studio 3 download from the aptana.com.

I tried disabling the Run Focused Unit Test shortcut which collides with my most frequently used Eclipse shortcut "Open Resource" while the cursor is in a Ruby file.

After spending 20min trying everything from Preferences to grepping the Aptana Studio 3 folder for occurrences of it, removing them and having them come back a few seconds afterwards I'm going back to Aptana Studio 2.0.5.

Crash on href=""

I'm working on Remote sites and every time I create an a tag Aptana becomes unresponsive for a few seconds. A lot of the times it also crashes.

OS is Vista (I know!) and I'm using latest Aptana Studio 3 (3.0.4)
Build: jenkins-studio3-rcp-master-43 (origin/master)
Date: 10 August 2011, 15:08:38

The bug happens only when entering the HREF attribute within the a tag.

Things work OK if I do <a href"" title="">Some Link (notice the missing = sign for href).

Could not replicate on local files.

T() method seems to be not impleted yet

I have the impossibility to use ruble :

T() method was not implemented.

An error occurred while executing /Users//Documents/Aptana Rubles/zen-coding.ruble/commands/expand_abbreviation.rb: (NoMethodError) undefined method t' for main:Object An error occurred while executing /Users/_/Documents/Aptana Rubles/zen-coding.ruble/bundle.rb: (NoMethodError) undefined method t' for main:Object
An error occurred while executing /Users/*/Documents/Aptana Rubles/zen-coding.ruble/commands/expand_abbreviation.rb: (NoMethodError) undefined methodt' for main:Object An error occurred while executing /Users/_/Documents/Aptana Rubles/javascript-jquery.ruble/bundle.rb: (NoMethodError) undefined method t' for main:Object
An error occurred while executing /Users/
/Documents/Aptana Rubles/javascript-jquery.ruble/commands/documentation_for_word.rb: (NoMethodError) undefined method t' for main:Object An error occurred while executing /Users/*/Documents/Aptana Rubles/javascript-jquery.ruble/snippets/snippets.rb: (NoMethodError) undefined methodt' for main:Object

Host OS: Mac OS X
OS Arch: x86
JRE Version: 1.6.0_29
JRE Vendor: Apple Inc.
JRE Home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Install Directory: file:/Applications/Aptana Studio 3/
Version: 3.0.9.201202141038
VM Arguments: -Xms40m
-Xmx512m
-Declipse.p2.unsignedPolicy=allow
-Declipse.log.size.max=10000
-Declipse.log.backup.max=5
-Xdock:icon=../Resources/aptana.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=256m
-Djava.class.path=/Applications/Aptana Studio 3/AptanaStudio3.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar

Workspace Directory: file:/Users/*/Documents/Aptana Studio 3 Workspace/
Language: fr_FR

Scrolling Terminal after git merge

Aptana Studio 3, build: 3.1.2.201205041324 (Windows x64)
Maybe this also applies to other commands with a lot of output:
After using "git merge upstream/master", I can't scroll to read the beginning of the output, the Terminal wont let me. Flooding the Terminal with empty commands allows me to scroll over those again, but I can't read the output of the git merge command, because the Terminal will scroll it out of sight.

Filename from content assistant replacing too much text

When in html I type src=" and choose a filename from the content assistant, the filename replaces everything down to the next quote, which might be several lines down.

With f.e. autocompleted class names that doesn't happen.

CSS3 :not() Pseudo-class Syntax unexpected token error in Studio3

On Loading a working project into the IDE,

Errors Flagged:

For example:

jquery.mobile-1.2.0-beta.1.css

.ui-listview:not(.ui-listview-inset)

.ui-collapsible [class*="ui-body"] > .ui-listview:not(.ui-listview-inset) .ui-li-last { border-bottom-width: 0; }
.ui-collapsible-content > .ui-listview:not(.ui-listview-inset) .ui-li:first-child { border-top-width: 0; }
.ui-collapsible-content > .ui-listview:not(.ui-listview-inset),
.ui-collapsible-content > .ui-listview:not(.ui-listview-inset) .ui-li-last { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
.ui-collapsible-content > .ui-listview:not(.ui-listview-inset) .ui-li-last .ui-li-link-alt { border-bottom-right-radius: inherit; }

Description Resource Path Location Type
Syntax Error: unexpected token ".ui-collapsible-inset" jquery.mobile-1.2.0-beta.1.css /BFC/jqm-1.2.0-beta.1 line 1892 CSS Syntax Problem

Terminal display not nicely in Win7 x64

My computer cannot display the terminal nicely build in aptana. The word line broke.

My version is 3.0.9.201202141038

pic

My computer info:
Windows 7 x64 Ultimate SP1 Chinese with English language pack.

I think this might be caused by my user name and compute name. They are all Chinese characters, so it might display not so nicely. I tested in Ubuntu, the termial works well.

This might not be a big issue, but I hope you can fix it. Thanks again.

spelling suggestion box in dual screen mode

This is a minor annoyance more than anything.. but I still thought I should mention it.
I work on OSX 10.6 with dual monitors.
Apatana is on one screen, but whenever I hover over a misspelling in the text editor, the hover tip with the message "The word ___ is not spelled correctly" shows up on the other monitor.

Actually I would love for a way to turn that hover tip off completely without having to turn of spell checking.
The hover tip is really no use at all.

prefixr API for aptana studio

Hey isn't there anybody who could build a prefixr api for aptana studio? need it very much. or something like prefixr. Please.

Tab Size setting not being saved

When going to Preferences -> Aptana Studio -> Editors -> Coffeescript, and setting tab size, the changed value is never saved. This occurs for a lot of the editors that I've tried. This also occurs on both Mac and Windows versions of the Aptana Studio 3 Eclipse plugin.

Aptana Studio 3 x64 for Windows?

Can we get an x64 build for Windows?

I'd be happy to help out if you could tell me what needs to be worked on.

But I'm fairly certain it would be very little effort to ship an x64 binary installer. My current setup is that I install Eclipse for Testers or Eclipse Classic then add in Aptana.

Unfortunately this leaves me with some impossible to remove "features" in my IDE which really bloats it down.

I'm sure many others are in the same situation.

So can you add x64 binaries+installers for Windows?

Thanks for your consideration

Build instructions

It's not clear from the split of repositories how I build Aptana Studio 3 from scratch. Are you able to provide instructions?

Linux Aptana start script — readlink location

On Ubuntu 11.04 «readlink» is located in /bin/readlink, but the path /usr/bin/readlink is used in the script.
This results in «line 8: /usr/bin/readlink: No such file or directory» error when running via simbolic link.

"@" inside @media-query breaks CSS file parsing

When a class-name starts with an "@"-character within a media query, Aptana Studio 3 won't recognise any classes within the CSS file that uses this expression. The "Outline" window becomes empty and the content assistant no longer proposes the CSS-File's classes.

Aptana Studio 3, build: 3.4.2.201308081805 (64-bit)
Build: jenkins-studio3-rcp-master-302 (origin/master)
Date: 08 August 2013, 18:06:10

Linux 3.5.0-32-generic x86_64

Reproduce:

  • Install Aptana Studio 3
  • Create a new Web Project
  • Import Twitter's bootstrap.css (Version 3.0)
  • Line 6241 breaks everything

SFTP Keep Alive Connection

On every save or open a remote (S)FTP file, Aptana makes a new connection. This slows the workflow a lot. I saw there is "SFTP Keep Alive" issue implemented, but it doesn't work anymore.

Copy

There's a really annoying bug on Studio about copy feature. Sometimes, when I want to copy, Aptana doesn't understand at all. I need to do 3 times or more cmd+c in order that Aptana understands what I want.

Either I need to save my file or even restart Aptana not to have this bug again.

Could you see that?

No error log.

Error Popup on Web Editor

From time to in certain files theres this error message popping up nearly every second sign you type:

"An error has occurred. See error log for more details.
String index out of range: -541"

Error Log entry:


!ENTRY org.eclipse.jface 4 2 2012-12-04 11:29:53.874
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -541
at java.lang.String.substring(Unknown Source)
at com.aptana.editor.erb.html.outline.RHTMLOutlineLabelProvider.getDisplayText(RHTMLOutlineLabelProvider.java:75)
at com.aptana.editor.erb.html.outline.RHTMLOutlineLabelProvider.getText(RHTMLOutlineLabelProvider.java:62)
at com.aptana.theme.ThemedDelegatingLabelProvider.getText(ThemedDelegatingLabelProvider.java:51)
at org.eclipse.jface.viewers.WrappedViewerLabelProvider.getText(WrappedViewerLabelProvider.java:108)
at org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:164)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:152)
at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:938)
at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:106)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1018)
at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:485)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2167)
at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2725)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1908)
at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1883)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1840)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1826)
at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1508)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1443)
at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1404)
at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1506)
at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537)
at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1465)
at com.aptana.editor.common.outline.CommonOutlinePage.refresh(CommonOutlinePage.java:307)
at com.aptana.editor.common.AbstractThemeableEditor$3.run(AbstractThemeableEditor.java:1326)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
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:344)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.