How to add to Aptana helpful panel with snippets? - aptana

tell me please, how can i add top panel like on a screenshot?
(with comment blocks and helpful snippets)
Click for full size.

The top toolbar on the HTML/CSS/JS editors from Aptana 2 is not in Aptana 3. You can achieve the same functionality using various commands and snippets. Look under the Commands menu for each languages for some of the new commands with their keybindings.
You can also read more on Rubles here: http://wiki.appcelerator.org/display/tis/Ruble+Specification
And the rubles themselves can be seen on Github:
https://github.com/aptana/js.ruble
https://github.com/aptana/css.ruble
https://github.com/aptana/html.ruble

Related

Different behavior of Foundation 6 Top Bar Menu for two (nearly) similar pages

I created a draft for a website with Foundation 5 (F5) and Textpattern. But I decided to upgrade my documents to Foundation 6 (F6) some months after it was released. Unforunately, I'm not really happy with the new menu structure (so far...) and will try some other things out with Foundation's Building Blocks etc. But first, I need to find out the reason of a different behavior of the F6 Top Bar menu bar for two of my pages:
The Top Bar is looking OK on the home page: http://frickeln.jensfreyer.de/ But...
...the menu toggle + menu/submenu function does not at another place: http://frickeln.jensfreyer.de/blog/.
Do you have an idea why this happens? The html documents are reduced to the max. and a comparison of the source codes doesn't tell me why. But possibly you see it... and I overlooked sth. (I would be happy).
I'm using Foundation 6.1.2 and Textpattern 4.5.7.
On the blog page, foundation.min.js and jquery.min.js are not linked correctly, in the console they are shown as NOT found.
I think instead of
http://frickeln.jensfreyer.de/blog/js-6.1.2/vendor/jquery.min.js
it should link to
http://frickeln.jensfreyer.de/js-6.1.2/vendor/jquery.min.js

Can't re-open project files sidebar anymore in Atom Editor

Sorry if this is the wrong place to answer but I found no other community which could help me with this. I accidentally closed the left-sidebar that shows the currently open project and it's files. Not sure what it's called, maybe navigation, folder view, either way, I tried pressing nearly every key combination to no results. I tried searching in the command palette for something that looked like "open project sidebar" but nothing. Now I'm stuck having no idea how to restore my primary navigation means when working with Atom. I tried opening multiple projects but I just get a black screen without the project sidebar, like it was hidden.
Any ideas?
I'm talking about this sidebar:
It is called "Tree-View".
You should be able to enable it via command pallete or ctrl + ,
It depends on your OS. On Mac OS X, it's CMD-\ (Command-Backslash) to toggle it. The option located on the View menu, called Toggle Tree View (the last menu option).

TinyMCE formatting button

Im using Wordpress on my Webpages and now i have decided to post there some tutorials and posts about it, and i just need some button that can open a box with options and i need to make starting tag using these options, and after selected put the closing tag. Im not really good in JS so i understand only a bit.
I found this:
http://return-true.com/2011/12/adding-tinymce-button-to-wordpress-via-plugin-part-2/
Adding custom tag with TinyMCE using ed.selection.setContent
maybe i need only to combine these two solutions
This can be done using an own plugin. Your plugin needs a button and this button will trigger a tinymce command that you will have to define. This command will open the box.
Developing an own plugin is pretty easy: http://www.tinymce.com/wiki.php/Creating_a_plugin
You should get the tinymce development version from the moxiecode download page. Check out the plugins directory for a plugin that uses a popup/model dialog - i think something like the searchreplace plugin will help.

How to add insert tab to the insert/edit image plugin in the tinyMCE to insert image from the desktop?

I am using TinyMCE plugin, but for the insert/edit image plugin, it doesn't allow me to add an image from the desktop.
I don't want image to upload on the server but want to display in the editor, so i want to add an image insert in the insert/image plugin.
How can i achive this.
While this thing can be done in the on line tinyMCE editor's demo.
please help me with this, please gimme some guide lines or credible links to achieve this.
If you're looking for a cost-free way to upload files from your own computer (which I assume is what you mean by desktop) you can use http://www.phpletter.com/Demo/Tinymce-Ajax-File-Manager/ to achieve this. I have successfully integrated this in my own envirnonment almost hassle-free (which any other free plugin couldn't achieve ;)). Their own solution is propietary (I think), but Ajax File Manager works just as good.
I use it for PHP but I think supports ASP also.
EDIT: Looks like it doesn't support ASP after all :|

Disable Code Assist in Aptana Studio 3

Is there any way to disable code assist in Aptana Studio 3? It is driving me absolutely insane! It changes things I don't want changed, it just overall gets in the way of my workflow. It was never a problem until the most recent update and ever since that update it's been much more aggressive in it's "assisting." I just want to be able to write the code myself without it messing me up.
To Caldwell,
The thing that you have mention is called Content Asisst. It will show a code-assist when you typing a code related to HTML/CSS.
To disable Content Assist in Aptana Studio 3 is :
Choose Window in the main menu ( menu avaiable on top) → Preferences → Choose Aptana Studio → Content Assist → Look at the Auto-display content asisst then you will see the drop down menu at besides, then click drop-down menu choose Off instead of Default delay.
That's all. Thank you
The issue you are referring to is most likely resolved in the beta of 3.0.4, but if you need to turn code assist off, I would suggest:
a) Preferences > Aptana > Editors (main node)
b) Preferences > Aptana > Editors > JavaScript (for example) and check the activation triggers. You may wish to remove "(" and "." for example.
Found this article trying to turn off the auto-complete of quotes and html tags. This feature is called auto-close. It can be turned off in Windows by going to Window -> Preferences -> Aptana Studio -> Editors. Here there is a "Typing" section of options. Unchecking "Auto-close matching character pairs" and "Wrap selected text with matching characters" did the trick for me.

Resources