-3
Gerwin van Royen 5 years ago • updated by Mihkel Miliste 5 years ago 1
When coding in PHP, a # shouldn't be a comment. 
-3
PhalconPHP 5 years ago • updated by Saad Farooq 4 years ago 3
I think the "replace all" option have a bug, follow these steps:

Write: MySQL

Replace all MySQL by PostgreSQL, final replacement is: PoSTGreSQL

Preserve Case is enabled.
-3
Declined
aristidesfl 5 years ago • updated by Jon Skinner 5 years ago 0
If I open one file with sublime, why do I see a tab which has no functionality?
Answer
Jon Skinner 5 years ago
By Design
-3
HBOSOFFICE 4 years ago • updated by sqlitedog 4 years ago 5

Hi, 

I am new at using Sublime, can anyone send me tutorial to set it up correctly, I am solely on a Mac Lion. I will use the Sublime editor for HTML5 / CSS / jQuery / PHP / Javascript and Python. I could not find HTML5 on the syntax. 

Thank you.

-3
Adam Murphy 5 years ago • updated 5 years ago 0
not sure where to report bugs, but i'm totally bummed my downloading of a new copy of ST2 killed my customized twilight theme :[

i had a custom version of it i'd made, thought i had a backup, bummer man.
-3
PatrickTaylorEdwards 4 years ago • updated by Jacob Gardner 4 years ago 1

Perhaps this already exists, but I would love my comments to be updated each time I save a file. For example, I have a comment at the start of all my JavaScript files and when I save the file I would like my comment to update, automatically. The comment includes information such as 'Modified By', 'Date last edited', and the file name. A plugin or feature to add a default comment with this information, in my set format, would be really useful; I imagine it would work in the same way as default email signatures - but with variables.

-3
rubicscube 5 years ago • updated 5 years ago 0
Would be good to have simple working sets in a project. Such as additional list in the sidebar between OPEN FILES and FOLDERS. That would ease navigation through dependent files. Could look like that: DEFAULT view (default), Language, Connections and etc. Default view would remain it's state dynamically while others not and will have to be defined.
-3
Craig Russo 4 years ago 0

When 3 is released can it import all your settings and plugins from 2 so you don't have to install and configure all that stuff again? I have the side bar in a dark color scheme and just a punch of plugins installed that while its easy to install them when you have a lot it's a pain.

-3
cheema 4 years ago • updated 4 years ago 7
www.dstvinstallfast.wozaonline.co.za


-3
Filipe Cabecinhas 5 years ago • updated 5 years ago 0
add_regions() doesn't add regions. It replaces previous regions with the same name.

add_regions() with the same region name as a region already present in the view will replace the existing regions, instead of adding to them (as the name implies).

Example:
>>> v = sublime.windows()[0].active_view()
>>> v.add_regions('a', [v.full_line(v.text_point(133,0))], 'string', 'circle', sublime.HIDDEN)  # A circle is added, in line 133
>>> v.add_regions('a', [v.full_line(v.text_point(137,0))], 'string', 'circle', sublime.HIDDEN)  # The first circle is deleted and a circle is added to line 137

I was expecting to have two circles, one in line 133, one in line 137.

Regards,

  Filipe

-3
Hans Meyer 5 years ago • updated by stijn 5 years ago 1
Per Visual Studio, folders/files marked as "hidden" at the OS level should not show up in the side bar or find results.
-3
Caleb Land 5 years ago • updated by lanzz 5 years ago 1
In OS X at least, while dragging to make a selection, the cursor disappears. It makes making selections in Sublime feel a little off. Usually on OS X, the cursor isn't available at all while the selection is in place, but I understand that Sublime needs to show the cursor position while a selection is made.

I think Sublime should hide the cursor while dragging.
-3
codex 5 years ago • updated 5 years ago 0
I am used to Slickedit's "next function/prev function" keyboard bindings.   So far, the closest approximation ST2 is to use <Command-R><Up/Down> to show the function list, and then using the arrow keys to move to the next function.  However, if I should simultaneously press Command, R, and an arrow key, and keep Command and R depressed while I select a function, the selection window will not automatically go away when I release the keys--it requires <Enter>.  This makes quick selection difficult (the same problem also occurs with Command-P).  There are some other problems with this method as well, such as:

- the next function is not visible in the function list, because the current function is always at the bottom
- the chosen function is not always in the same spot in the editor window (e.g. middle), and I can't easily find it because my eyes were focused on the function list as the editor window was scrolling around. 
-3
Niken Wijaya 4 years ago • updated by Peter Meier 4 years ago 1

Would you please add syntax highlight for google closure template :)

-3
Philipp 6 years ago 0
Sublime 2 looks a lot like Chrome which I appreciate very much.

However, because the two look alike, I also expect Sublime to work like Chrome in many regards.
For example:

CMD + t should open an empty document in a new tab
CMD + n should open an empty document in a new window
Dragging the last tab from an empty window should close it

When I close a tab, the next tab should slide over so that its close button is exactly where the close button of the previous tab was (Chrome does this). Right now, when I want to close multiple tabs, I have to reposition my cursor after each click. This is not optimal.

There is probably a lot more that Sublime could learn from Chrome. An "app store" for user generated extensions would be great as well.
-3
whoru 4 years ago • updated 4 years ago 0

There is no way to edit files on a headless system.

-3
William Ledoux 5 years ago • updated by Darin Morrison 5 years ago 2
Hi there,

The new italic rendering of text  does not work with the font I use, making the text unreadable.
Each italic character seems to take double the space, as you can see on the screenshot below:


The font is HobTiny, you can download it for free: 
http://dr-hoiby.com/res/HobTiny.php
I think it only works on Windows.

Thanks for the amazing work
William Ledoux
-3
陪心看海 5 years ago 0

请问有办法支持gbk编码吗?

-3
Carol Magdalein 5 years ago 0
Every time I open a file from Finder (Mac, obviously) I have to choose ST2 manually. I'd like to just open any text-based file in ST2 automatically.
-3
Winston Chang 5 years ago • updated 5 years ago 1
I tend to keep a lot of files open at once (often 10 or more), and this makes it difficult to read the filenames in the tabs. 

It would be nice to be able to show the open files in the sidebar, or at least have some way of listing them vertically (as opposed to horizontally) so that the filenames don't have to be truncated.

If they are in the sidebar, there will have to be a way to separate them from the folder view, of course. Maybe the open file list could go above the folder view?