Sublime Text 3 support for Rust - editor

I am on Windows 7 and I would like to use Sublime Text 3 for editing Rust files. I am on Rust version 1.5.0.
I searched on the sublime site and found several packages listed on sublime text rust packages. I downloaded the first package on that page - the one published by rust-lang. I followed the instructions on the installation guide page. Afterwards I restarted sublime text.
However when I opened my .rs file, I did not see any syntax highlighting and every character was in white. I clicked on the View>Syntax menu, and I did not see Rust listed among the languages.
In folder AppData\Roaming\Sublime Text 3\Installed Packages, I can see a file called Package Control.sublime-package. I assume that indicates that the package was downloaded at the least.
What could be wrong? Do I have the right expectation for syntax highlighting? Anybody had success with this?

After you installed Package Control, just follow instruction on this page:
Rust package.
Install the Package Control package if you haven't got it yet. Package Control is the best way to install packages for Sublime Text. See http://wbond.net/sublime_packages/package_control/installation for instructions.
Open the palette (Ctrl+Shift+P or Command+Shift+P) in Sublime Text and select Package Control: Install Package and then select Rust from the list. That's it.
P.S. Also, you can see another packages for sublime text for rust language on this page: http://areweideyet.com/#sublime

Related

Webstorm Markdown editor tools all disabled?

I'm using WebStorm 2016.2.2 Build #WS-162.1628.41. When I open a .md file I see a bunch of tools but they are all disabled.
How can I enable them?
Apparently Webstorm comes with at some point I had installed a trial version of a plugin called Markdown Navigator from vladsch.com.
I uninstalled it and now I get a couple basic buttons and a side-by-side preview.
if you wanted to use the Markdown Navigator from vladsch.com, you need to activatie it by either a:
trial license
or buy a license
and then add the license to the plugin via the settings to activate all of its functions...

WebStorm package icon meaning for Dart

When I upgrade Dart, the packages are upgraded as expected. However, in any packages directory, I see the same icon for all the packages. The interesting thing is that some icons have a + and can be clicked to display sub folders - most of the packages do not allow this.
Although the packages are upgraded when I attempt to use them the import does not work - the error is the packages class of a particular package cannot be found.
Please see the attached graphic.
Is this the expected behaviour? I would expect each package should allow me to see its read-only contents.
EDIT 1
In the windows explorer, the tree displays as shown below

How to use Ruby on Rails with Sublime Text (Gems)

I know how to create new projects with ruby, and I've seen videos of people using it, but then I see them open a text editor with the name of their project (the one that they created with rails) and the Gems. Can someone help me understand this and how to use it? I am trying to create a simple login/logout/ and register page
Here the best link you could ever have here
1.Install the subl command line tool
2.Install Package Control. Package Control makes it easy to install/remove/upgrade packages Preference->packagecontrol
3.Once you find the package control you can install as many packages as you want including Theme, a XDEBUG , RUBY related stuff by searching.
ENjoy!

notepad++ nppgtag plugin shortcut

I have installed npp plugins from sourceforge nppgtags on latest notepad++ version but i am not able to effectively use that. I am facing these problem
Is there any shortcut for nppgtags plugin of notepad to search references, create DB, search definition and other command?
On the sourceforge page the image of the plugin have 3 windows
nppgtags
doc-switcher
tag-view
but i am only getting nppgtags window. am i missing something here or i need to install some other plugin for effectively using it.
adding image url: image of the plugin on notepad++
Got answer from developer on sourcefourge. link
I want to know if this plugin has any keyboard shortcut in it.
I haven't predefined any shortcuts on purpose because when you have a lot of plugins those might have conflicting shortcut keys. So I've left the shortcut definitions to the user and to his preference.
To set a shortcut in Notepad++ go to the Settings menu, Shortcut Mapper... . Chose Plugin Commands, find NppGTags commands in the list and define whatever shortcuts you need. Those will be saved in your Notepad++ config folder, shortcuts.xml file.
what are the other plugin you are using in that.
The one on the left is actually Notepad++ internal function - Doc Switcher. Go to Notepad++ Settings menu, Preferences... , select General. Find there Document List Panel and mark Show + optionally Disable extension column as it is in my case.
The one on the right is TagsView plugin. It is available through PluginManager and can be also found in SourceForge if you search for it.
The names of the plugins can actually be seen from their windows titles. Just look at the screenshots, above each plugin's sub-window. There is written its name.

How do I get Sublime Text 2 to work with Ruby on Rails?

I'm new to Ruby on Rails. Here’s what I’ve done so far:
I’ve installed XCode, Homebrew, RVM, Ruby and Rails.
Now how do I get Sublime Text 2 to work with Ruby on Rails?
First thing you should do is install Package Control if you haven't already. This will make downloading packages and plugins way easier. Then you can look at some of the Rails specific packages to make your life easier when coding with Sublime Text.
Sublime Text has native support for syntax coloring in .rb files, so you don't have to install anything for that. Dragging your project folder and dropping it on Sublime Text will open it.
Keep in mind, though, that Sublime Text is simply a text-editor - not an IDE. You won't get a lot of help like code completion (although there are plugins that can help a bit) or complaining when your syntax is wrong (again, there might be a plugin for this). For that, look at something like Netbeans or IntelliJ IDEA.
You can download and install Sublime Text if you haven't done yet from sublimetext.com.
Here is an installation guide for OS X Terminal that I found cool.
You should install Package Control for Sublime Text.
Then I suggest you check out these videos:
Sublime Text 2 Tutorials #1 - Installing & Overview
Perfect Workflow in Sublime Text 2
It's worth spending time with it once, and it will save a lot of time in the future.

Resources