Ruby IDE for Ubuntu Linux 64bit - ruby

I was wondering if there was a Ruby IDE for ubuntu linux 64 bit. I have checked around a bit and found Aptana studio but it will not actually install just launch from a folder. So any suggestions guys?

I have tried several (Aptana, redcar, etc.) and always go back to using gmate, which is a set of plugins for gedit. It includes several themes like textmate and railscasts.
It allows you to extract partials, display the directory structure and class definitions in the side bar and comes with loads of autocomplete snippets for common tasks, such as:
typing end and pressing tab when editting an erb file results in:
<% end -%>
I also recommend the tabextend plugin which allows you to close all tabs at once, middle click to close a tab and close all except the tab in focus.
Installation instructions here: http://maketecheasier.com/transform-gedit-into-a-web-developer-ide/2010/12/29

Related

VS Code Extension Sidebar Not Displaying/Loading

I'm simply wanting to search for extensions in VS Code, so that I can look at a file produced by sqlite3. I go to the extensions tab and click on it but I cannot search for anything. As shown in the screenshot below there is EXTENSIONS to the top left but there is no search bar at all. I cannot click in it or right click in it to bring anything up and I don't know if there is any alternative to search for and get the extension I need.
Screenshot showing Extensions View
I am working on a Ubuntu 18.04LTS OS and I've opened VS Code through Anaconda Navigator (1.9.12). The version of VS Code is 1.45.1. I thought that maybe something here was out of date but I've checked that and they seem to be up-to-date. I've also tried to search for something that's like my problem and the only thing I can find is this issue https://github.com/Microsoft/vscode/issues/71574 which was resolved by updating to the most recent versions (I have the most recent versions). I've also tried opening VS Code simply via the terminal but I still have the same problem with the Extensions side bar.

Rubymine HAML autocompletion similar to SublimeText 3

I have a SublimeText 3 and RubyMine 2016.1 versions installed. When I work with HAML files in Sublime, I have a nice auto-completion similar to this:
As I type h1 and press Tab it becomes %h1, so I don't have to type % symbol.
Tried the same thing in RubyMine and nothing happened.
How can I achieve same auto-completion feature in RubyMine HAML as I had in a Sublime? Is that even possible or should I consider this behaviour as a feature of RubyMine IDE?
Thanks!
I don't think this kind of auto completion is supported in Rubymine.
By the way, even the code completion in HTML templates requires you to first type the < character so that auto-completion starts presenting suggestions, so I guess it is a general intention of the Jetbrains team to require the user to type the special character (such as % in HAML) first.
For a while I thought you might be able to add this functionality using Textmate Bundles import (Textmate bundles use the same format as Sublime bundles), but it appears that only the syntax-highlighting rules in them are supported in Rubymine. So this approach probably won't work either even if you managed to find a bundle with the auto completion feature for HAML files.

How do I Goto Anything (across all "projects" or windows) in Sublime Text?

aka: How can I find a tab in another window in Sublime?
In Sublime, the feature called Goto Anything (⌘+P, ⌘+T, Win: ⌃+P, etc.) searches through a list of open files/tabs, or any files (and more) but only in your current project/focused window :( I understand why it works that way but it's not super useful for having a bunch of random files open.
I'm currently using Sublime on my home computer (Mac) where I have 3 or 4 windows open (not technically projects, but Sublime seems to associate the two conceptually) each with 1-5 tabs. It's often difficult to find a tab I was using for a quick note (eg. groceries) because right-clicking the app icon in the dock only shows the active tab per window. If "groceries" was in a window and wasn't the last viewed tab when I went to another Sublime window, it's effectively lost, and I've got to start going through each one of my Sublime windows to find it.
I've also tried the Find in Files... feature (⇧+⌘+F) with <open files> in the Where field thinking I'd just search for something in the file (eg. eggs) but "open files" really means "open files in this project/window"...same scope limitation.
I've even looked for a plugins that might help but "Goto absolutely everything" is a concept that's hard to search for. I've been wanting to try writing my own so I'd be grateful for a Python solution as well!
I realize this is a somewhat old thread, and you may have already come up with a solution. While there is no way that I know of to do a search or goto anything across all windows, I developed a Sublime Text plugin that allows you to jump between windows using command+shift+o on Mac OS X.
You can install it from package control:https://packagecontrol.io/packages/GotoWindow

Sublime Text 2 file associations on Windows Vista

I want .js, .css, .html, etc. files to be associated with Sublime Text 2. I tried to associate the file type with the Sublime Text program, but the Open With dialog wont let me select sublime_text.exe. When I browse to the sublime_text.exe and click Open, (under Program Files, not Program Files x86; I have ST 64bit version installed) nothing happens; the browse window closes and I'm back to the stupid Open With dialog, but sublime_text.exe isn't selected and within the list available programs, and the OK button is disabled because I have nothing selected.
I'm sure there's someone out there that's more familiar with how Windows works internally and would be able to shed some light on what could be going wrong.
This all started when I installed Sublime Text 2 official release. At the time, I had Sublime Text 2 32bit beta installed, when I installed the official release, I decided to go with 64bit. After I installed the new version, I had two versions on my computer, a 32bit version and 64bit version. All my file associations were using the 32bit version, so after I uninstalled the old 32bit version (using Revo Uninstaller), all my file associations broke, and I haven't been able to fix this sense then.
Any help on this is greatly appreciated.
Maybe this will help http://www.sublimetext.com/forum/viewtopic.php?f=2&t=1652&start=10#p7646
In case the link will die, here is content
This actually isn't a problem with Sublime text, it's a generic quirk
introduced in Vista and left lingering in W7. I actually recently made
a blog post about this very issue, you can find it at
http://anders.tonfeldt.se/?p=775 but I'll detail it here since it's
generally considered bad form to drop an url and leave.
Open regedit.
Navigate to HKEY_CLASSES_ROOT\Applications\sublime_text.exe\shell\open\command
Verify that the path is accurate, correct it if it is not. Exit regedit.
Open task manager via ctrl+alt+del, kill explorer.exe, go to run and type explorer.exe (or skip this step and simply reboot).
Now attempt the same thing, right click a text file, open with, navigate to sublime, and it should now appear in the list of available
applications.
Disclaimer; My post above uses another application as an example and
it's not guaranteed to fix your problem, but it's likely to be the
same as I've encountered it countless times when installing /
uninstalling / reinstalling an application, or just updating one, in
Win7/Vista.
TFeldt

How do I activate the Zen coding key bindings in Sublime Text 2?

I just downloaded the Zen coding package for Sublime Text 2, but I can't figure out how to activate it.
I already have it in Netbeans, and here you just have to press CTR+ALT+N, but this doesn't work in the Sublime editor.
Google didn't yield any results, so I'm asking here.
Can someone tell me how to activate the Zen coding function?
press Ctrl+Alt+Enter and you'll get a text input box at the bottom of the screen, titled: Enter Koan:. as you type the zen expression into the box it will simultaneously unfold on the screen.
Alternatively, you can type the zen expression in the editor and press tab to expand it. Be sure not to leave any spaces inside the expression or after it.
I have been using Sublime Text 2 beta, build 2139 on Windows (but I'm also pretty sure this should work on Mac OS and Linux too) and here's how I got it to work:
After installing Sublime Text 2 itself, install Package Control
for Sublime Text 2. This is an add-on that allows you to easily
manage another add-ons.
I couldn't get the first installation option to work so I went for
the manual method. On my installation there was no folder called
"Installed packages", instead I've used "Pristine Packages" folder
which seemed to contain other, already installed extensions.
Restart Sublime Text 2
With Package Control installed open Sublime Text 2 editor and choose Preferences -> Package Control -> Package Control : Install Package from the menu. Hit "Enter" and there should be a list of packages available for installation displayed on the screen. Start typing "Zen" and Zen-Coding will be presented. When selected hit "Enter" again, status bar on the bottom of the screen will be showing installation progress.
When it's done - restart Sublime Text 2 one last time. Now, you can expand Zen-Coding abbreviations with 'ctrl+space' or 'tab'.
Remember it will only work in the saved file, with extension "html". (in particular - it won't work on the new document you've just created).
I hope this helps
To expand your zencoding, just press TAB. However, for a full list of all the keybindings, look in your Zencoding folder for a file called "Default (NAME_OF_YOUR_OPERATING_SYSTEM).sublime-keymaps". To get to the package, go to "Preferences > Browse Packages > zencoding".
Ctrl + Opt (Alt on a PC) + Enter. Check out the video.
See this post : Zen coding downloading trouble
and my comments for detailed instructions.
Also, after an upgrade, just replace the folder with the original one from
http://dl.dropbox.com/u/1292831/ZenCoding.zip
Good Luck ..
Download this one; https://github.com/sergeche/zencoding-sublime
It works on SublimeText2 2.0.1 build 2217 windows.
After install Emmet package, remember to restart sublime editor and save a file first to try it!. I thought it wasn't working after install, but it just needs a saved file to work on it.

Resources