+11

PHP inside a Javascript string Highlighting bug

Mauno Lempiäinen vor 13 Jahren aktualisiert von James Homer vor 13 Jahren 1

Sublime doesn't recognize php tags inside a javascript string:


$addDialog = $('<div><?php echo $this->Form->input('parent_id', array('type' => 'hidden', 'div' => false));?></div>');

It highlights the above php code as string and 'cuts' highlighting the JS string when ever there is a ' chracter in php code.
+11

Recursive code folding

Norris Wyvern vor 13 Jahren aktualisiert von Peter Epp vor 12 Jahren 3
Currently CMD+K1 Folds all 1st level code. I'd very much like to see a code fold that does recursive fold. Meaning, that after I fold, I have to unfold one by one to get where I want to.
I mean: CMD+k1 would produce CMD + k9, CMD + k8, ....CMD + k2, CMD + k1.
+11

Bundle a separate application for previewing files as HTML

Axel Rauschmayer vor 12 Jahren aktualisiert von Krzysztof Kotlarski vor 12 Jahren 3

There seems to be an aversion to putting too much functionality into Sublime. Then how about a separate application? It would show a single browser window and watch a directory. You would be able to configure what files are watched and how they are converted to HTML. It should be possible to optionally make that conversion without creating files, by writing to stdout.
Example configurations:

  • HTML: Watch all .html and .css files. If one of them changes, reload the browser window.
  • AsciiDoc: Watch all .asc files. If one of them changes, convert it to an HTML file and reload the browser window.
  • Markdown: Watch all .md, .mdown and .markdown files. If one of them changes, translate it to HTML and pipe the result to the browser window.
+11

Missing build for Linux - armhf

Juhapekka Piiroinen vor 11 Jahren 0

Could you provide an armhf build for Linux, as I would like to run this on my chromebook which runs ubuntu.

+11
Abgelehnt

tab resizing like chrome

Rohan Dhaimade vor 14 Jahren aktualisiert von Jon Skinner vor 12 Jahren 3
If at all possible to copy the tab behaviour of chrome (in the terms of sizing and closing). It's preetty well documented and it would be nice cause then we can quickly close tabs with your mouse.
Antwort
Jon Skinner vor 14 Jahren
Chrome style delayed-tab-resizing-on-close only makes sense if all the tabs are the same width, as they are in Chrome.

Sublime Text 2 uses different width tabs, to better make use of the available space. This is done because file names in text editors are much more important that titles on web pages.

If resizing were delayed, then it would in general be no help, as the close button of the next tab would not come to be under the mouse cursor.
+11

Find in Files: save and reopen Find Results

Thomas Jachmann vor 12 Jahren 0

When using Find in Files, I often have to deal with large result sets (I'm working on a large project) and I really love using a buffer for going through the results and narrowing down my result set by removing the results that don't have to be handled.


It'd be cool when I'd be able to save and reopen that file with all the search functionality restored. Currently, I have to search for some dummy stuff, open the result file and copy/paste it into the Find Results buffer. Maybe opening the file and setting it's syntax to "Find Results" to get the proper formatting and the ability to click on the results and jump to the corresponding files.

+11

XPath generation from cursor position in XML

Me Whatever vor 13 Jahren aktualisiert von Ross Hadden vor 11 Jahren 1
It would be extremely useful if sublime text 2 could generate xpaths from the user`s current cursor location in the xml and copy them to the clipboard.
+11

Remember the last cusor positions in the previously opened files

phalkunz vor 13 Jahren aktualisiert von Eugene Burmako vor 13 Jahren 1
The last cursor positions of the previously opened files should be remembered when reopened, in an app session. It's really useful when you're working on different files. You can close some of them to unclutter the workspace, reopen them again when needed and you can pick up where you left off easily. 
+11

Trying to open an already-opened project opens a new empty window

lanzz vor 12 Jahren aktualisiert von Tim Holt vor 12 Jahren 1

When I have a project already open, and try to open the same project again (via "Project > Open Project..."), instead of opening a new window for the same project (which would be the ideal case, as it would allow two windows with tabs for different files open in each) or focusing the existing window for the project (which is what happens if I choose the same project from the "Recent Projects" menu), ST2 for some unexplicable reason decides to open a new, empty window instead.


ST2 v2.0.1 build 2217.

+11

Sidebar can't cope with large projects

nickl vor 13 Jahren aktualisiert von Max Strebel vor 13 Jahren 1

For large projects the sidebar folder scan seems to leave the folder/file tree incomplete. Often, folders at a certain depth remain empty, even though on disk they contain files and subfolders.


At first I thought this was because the scan had not finished, but days later this is still the case.


Other issues relating to folder scanning are
- no indicator to show when a scan is in progress or when a branch is incomplete
- no option to refresh a folder after contents were changed outside of the editor
- switching projects seems to trigger a fresh scan, which is not practical for large projects


'large', in this case is 150,000 files across 25,000 folders. Maybe sublime is not designed for projects of that size? Eclipse manages it, although the scan is pretty slow.

+11

Memorize expanded folder structure in project file

Paul Hoepfner-Homme vor 13 Jahren 0

When I close and re-open a project that I've been working on, the expanded folders in the project folder hierarchy are forgotten and all the folders are collapsed. In my case very few of my projects have files I work on that are near the root level of the folder hierarchy, so I usually find myself spending several moments re-establishing the desired expanded folder structure every time I resume work on my project. It would be nice if SublimeText could memorize what the structure was when I was last working on the project.

+11

In distraction-free mode, show tabs when mouse hits top of screen

klaasman vor 13 Jahren 0

Just like any browser, or at least in Chrome when in fullscreen, it's pretty useful to see the tabs when you hit the top of your screen with your mouse.

+11

TEI p5 suuport

Clément Godbarge vor 11 Jahren 0
Those who work in the humanities and social sciences would greatly benefit from XML TEI p5 support, the international standard to encode texts, sound, images, etc for archival purposes.
Thank you.
http://www.tei-c.org/
+11

add ACK search in project

Klaus Hougesen vor 13 Jahren aktualisiert von Leonid Shevtsov vor 11 Jahren 3
+11

Highlight folders in file browser panel

Alexey Kinyov vor 13 Jahren aktualisiert von Bryan Shelton vor 13 Jahren 1
It's really hard to visually distinguish folders from files in file browser panel. It requires a bit of concentration. I really like minimalistic design of Sublime Text, but this part I think should be a bit more sophisticated. Folders should be highlighted with another color or have an extra icon, arrow is not enough.
+11

BUG: GDI handle leak

Alex vor 12 Jahren aktualisiert vor 12 Jahren 8

Tested with:

Build 2181 both 32- and 64bit versions on Windows 7 x64.


Whenever the auto-complete popup opens (either automatically or manually invoked by hitting Ctrl-Space), it leaks exactly 6 GDI handles which are never returned. This can be verified with either task manager or Windows process explorer.


It's not a major thing, but may affect users who tend to use the editor for very long sessions. Leaking GDI objects usually means to leak memory as a side effect.


To verify that it is not caused by a plugin, I re-tested it with a completely fresh, secondary installation, using the portable package and the behavior did not go away.

+11

Color scheme visual editor

timothykemp+openid vor 13 Jahren aktualisiert von FichteFoll vor 12 Jahren 8
A visual editor for colour schemes, like that provided in Xcode, IntelliJ, Eclipse and many other editors would be a very welcome addition. The current process is very complicated and quite sparsely documented.
+11

Velocity Syntax Support

Z Zhang vor 12 Jahren 0
It would be awesome to support the syntax of Apache Velocity. Our 200-people engineering team are using Velocity heavily every day.
+11

Tabbed console window

Matthias Käppler vor 13 Jahren aktualisiert von Joe Esposito vor 12 Jahren 2
I guess the thing that annoys me most about Sublime 2 is that it prints everything to the same console window.

This totally destroys any form of multitasking that you perform within the editor, such as triggering a test suite and then searching for something. When I do that now, it will trigger the build, but the search results will claim the console window so I will never be able to see the output of the build script again.

In other words, I have to serialize all work that involves printing things to the console, including any form of search you perform.

One solution to this would be to make the console window tabbed as well. That way I could run several tasks in parallel and see all their output at once.
+11

I want to print my text with a printer.

Jonathan Naumann vor 13 Jahren 0