auto-complete class and id name in Sublime Text 3 - sublimetext

In Dreamweaver, I can autocomplete the class name or id name of a style sheet in CSS all the time. In Sublime Text 3, I can't. Why not? Am I missing something?

Finally i found the true way
at first you should install the package install
after that you should search for all auto complete and install it . you will now see hoe it work .really it is amazing tool .

Related

How to go inside a class in vs code by a click

I am using VSCODE as editor to build my laravel application . I saw in a video that, it is possible to go inside a class just by a click on the class name like what the extension goto-View do . So can someone tell which extension can handle this functionality in vscode for classes
You can download Laravel Goto extension. Its description and link is here:
Description: Go to various Laravel files by Alt + ;
Version: 4.2.0
Publisher: Adrian
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=absszero.vscode-laravel-goto
For the ultimate experience on VSCode using Laravel install:
Laravel Extension Pack
PHP Intelephense
To open the classes files hover over the class name then click ctrl + right click

Sublime text autocompletion for Laravel

Are there any plugins available to get Laravel auto completion and Laravel Blade template beautification in Sublime Text 3?
I have googled it, didn't find the right one for Laravel auto complete and not even one plugin that beautify the Laravel blade template.
There is dev4dev/blade-snippets. You can install it via Package Manager:
After installing you will be able to autocomplete Blade snippets by pressing Tab.
Some examples:
List of all snippets you can find in the project's repo: https://github.com/dev4dev/blade-snippets/tree/master/snippets
First install Sublime Code Intel plugin and then install Laravel Ide Helper.
By default Sublime Code Intel will let you autocomplete the code you write in your project e.g. extra classes, laravel's namespaces, etc but by default it will not autocomplete laravel's facades that's why Laravel Ide Helper comes to the rescure.

Change the transparency of sublime text 2

Can I change the transparency of sublime text 2?
Looks like this isn't a feature, but you can vote for it here, and you can work around it here.
If you're running Windows you can install following st2/st3 plugin:
https://github.com/vhanla/SublimeTextTrans
You can install either manually or via install package plugin.
You can also change SublimeTextTrans.sublime-settings file so you can overwrite default levels of transparency. Package resource viewer plugin will help you to find this file easily.
No, there's no support for transparent backgrounds. You can probably achieve this with a third party application. For example, on MacOS X you can look at Afloat.
On windows, I oftenly use Peek Through. It does work great with Sublime Text as well as with any other application.
Just install it and run it.
http://www.lukepaynesoftware.com/projects/peek-through/
Follow these steps:
Ctr+Shift+P
Install Package
Transparency
User: Preferences

Is there support for XML code hinting / completion in Sublime Text 2?

I am giving Sublime Text 2 a try and I was editing an XML file - that had a DOCTYPE declaration and a DTD - and there seems to be no way to get code hinting / completion when editing the XML document.
I am sure its something simple I am overlooking. I cannot imagine Sublime does not have this kind of functionality, even if provided via a plugin.
Can someone shed some light on this for me?
Sublime Text is first and foremost a text editor.
But, the reason for it's popularity is in large part due to it's extensibility.
Although you could use Sublime's api to create a specific plug-in to do this, Sublime has a few tools that are already helpful in editing xml files and other markup files on a bare install.
Hinting and completions in particular are very easy to add. It shouldn't take a more than few minutes to create a domain specific sublime-completions file for your particular xml.
You can use alt+shift+w to create an xml element, in addition alt+. will close any un-closed xml element.
You may also want to try the Sublime Tag plug-in available through Package Control
Lastly you could also bring this up in the Sublime forums as a plug-in request. There are a lot of helpful folks in the plug-in community.
You can use the 'tag' plugin from Sublime Package Control. It has auto tag closing, linting and other features. The github page for the project is here: https://github.com/SublimeText/Tag
You can install it using Package Control without leaving your Sublime text editor.

textmate & zen coding

I would to use Zen Coding (version 0.7) for TextMate (version 1.5.10).
It works for the simple shortcuts like div# which is translated to <div id=""></div>
However, when I try to use div#divId or li*5, it doesn't work. I try to autocomplete with tab or ctrl + e, but it seems to not function.
Do you have an idea of to fix this problem ?
Thanks in advance.
Camille.
If you do have all 3 installed, remember to press command + E instead of tab to trigger the zen coding. (just spent half a day on that :))
Note: to fully install in TextMate, you’ll need to download three bundles. At the time of this writing, the three download links are titled as:
Zen.Coding-TextMate.v0.3.zip (implements zen-coding)
TextMate.Zen.HTML.1.3.zip (implements HTML functionality)
TextMate.Zen.CSS.1.3.zip (implements CSS functionality)
Reference: http://mondaybynoon.com/20090817/the-art-of-zen-coding-bringing-snippets-to-a-new-level/

Resources