+1

Limit scroll_past_end to keep n lines visible

Joe Maller 12 year бұрын 0

Many files have a blank newline as their last character, so the `scroll_past_end` setting and a fast scroll result in an empty window. It would be nice if we could specify n lines to keep, something like:


    "scroll_past_end": 10


This would then scroll the window but keep the last 10 lines visible. Switching this to a number would seem to be backwards compatible since the current value `true` would function the same as setting the value to 1.

+1

Change build command based on context of build request

David Baumgold 12 year бұрын жаңартылды 12 year бұрын 0
I have a project with unit tests. I want to use ST2's build feature to run the unit tests, but I want to be able to click on a test in ST2, run the build command with my caret on the test case, and have ST2 run only that test case. (If the caret is not on a test case, then it should run all tests.) I can implement this logic myself, but the build system needs to know where the caret is when the build was requested. Can you pass this information?
+1

Jump To File

Jonah 11 year бұрын 0

I love the Jump To Definition action.  It would be nice to have the same thing for files.  For example, if you place your cursor within a string in a PHP file that contains a file name/path, it could try to open it.  Same thing in other languages, line Django template files, Ruby require statements, etc.

+1

Clicking on tab to regain focus starts drag

David Saracini 12 year бұрын 0
If I click on a file tab after working in another window (thus, regaining focus to ST2), it starts a drag operator and the tab will follow the cursor.  This should not start a drag operation.  Only reset the focus to ST2 and whatever tab is clicked on.
+1

Any good BASIC syntax highlighting packages out there?

Andrew Murrell 11 year бұрын 0
Does anybody know if there are any good BASIC syntax highlighting packages for Sublime Text 2? I have found quite a few languages, however, I've come up with nothing. I feel like this should be ... pretty basic.
+1

Package Upgrade exception

Artem Shoobovych 12 year бұрын 0

I encountered a problem when Sublime does not start if package upgrade failed for some reason. Fixed with this code at PackageSetup.py:


def upgrade(appdir, userdir, pristinedir, datadir, backupdir):

    packages = (glob.glob(appdir + "/*.sublime-package") +

    glob.glob(userdir + "/*.sublime-package"))

    for pkg in packages:

        try:

            upgradePackage(pkg, pristinedir, datadir, backupdir)

        except:

            pass

+1
Аяқталған

High res app icon

-8167 13 year бұрын updated by Jon Skinner 13 year бұрын 0
Just tried out Sublime Text 2 for the first time today and I love it! I'm so ready to pony out the dough for a license.

One thing though. I'm using it both in OSX and via Parallels in a Windows VM. The application icon looks fine in both, but tabbing between icons in Parallels reveals a pixelated icon.

Maybe include a high res version in the Windows version as well as the OSX version?

Answer
Jon Skinner 13 year бұрын
Sublime Text comes with a high res, 256x256 icon in window, which can be seen via Explorer.

Perhaps what you're seeing is a limitation of Parallels
+1

Show File in Sidebar

Rian Quinn 11 year бұрын 0

When you startup sublime, you have a bunch of files open. The sidebar however, shows all of the folders collapsed. So everymorning I have to uncollapse the folders. One way to solve this would be to not collapse the folders. Another interesting approach would be to have an option in the right click menu for the file's tab. When you click "Show File in Sidebar" the folders auto uncollapse to show you the file. If the a folder is not in the sidebar for the file, you could add the file's root dir, and uncollapse from there.

+1

Use alt + arrow to move around to where you've been

coyotte508 12 year бұрын 0

One feature I love from Qt Creator / Eclipse is the fact that it remembers the places you've gone to (file + line) and you can navigate between them by using alt + left / right (back and forth).


For example, you're using a function, you realize you need to edit how the function works so you go to the function's file and edit the code, then you go back to where you where (down to the line) with alt+left. And you can use alt+right to go back to the function's file if you forgot to do something.


It also works within the same file. Though it'd be most powerful combined with the jump to declaration/definition functionnality, without it's still very useful.

+1

Panels disappear when they don't fit in the window

Falcon NL 14 year бұрын 0
Problem: When the window is not high enough to show a panel, such as the console or the output panel, it disappears and refuses to show until the window is resized to be large enough again.

Expected behavior: When the panel in question would no longer fit, resize it to 50% of the height of the window.

Steps to reproduce: Open console. Resize window until console no longer fits.

Forum topic: http://www.sublimetext.com/forum/viewtopic.php?f=3&t=1543
+1

Add an entry in .theme-settings for currently active view tab

Adam Lemmon 11 year бұрын жаңартылды 11 year бұрын 0

To help differentiate between active views in different groups. Currently the active view tab color is a global setting. You can set the active view tab color to help distinguish it from inactive tabs, but there is no way to easily tell which group is the currently active view. This should have its own setting so as to be customizable.

+1

VXML and CCXML Support

Cameron Yeager 11 year бұрын 0

I have always loved Sublime Text, and am getting into IVR, and while the regular XML support that is provided in Sublime Text is getting me by for now, it would be nice to have full CC/VXML support, for some of the custom tags that are defined, as well as the getting code highlighting for the javascript inside the XML.

+1

Right click folder in side bar-> search this folder

Jeff Yeo 14 year бұрын updated by Oktay Acikalin 14 year бұрын 4
Like a subset of find in project.
I know there's different ways to do this. But I think this would be really convenient.
+1

Curly brace background color

jeffhatz 12 year бұрын updated by Joel Thornton 12 year бұрын 1
When the caret is inside of a function, the "caret" color is used to underline the opening and closing curly braces. However, this is not terribly easy to see to quickly see the associated braces. It would be nice if the "lineHighlight" color could be used as a background behind the curly brace.
+1
Аяқталған

Navigation history

rdeangelis 13 year бұрын updated by Jon Skinner 13 year бұрын 0
It would be nice to have a navigation history for the open files. So each time I select a file it will be put in the navigation stack. So that with a short-cut like strg+alt+left or strg+alt+right it is possible to navigate between the last open (visited) file.  
Answer
Jon Skinner 13 year бұрын
Ctrl+Tab does this
+1

class names or theme components list

isomorph 0 11 year бұрын updated by alice monday 7 year бұрын 3

where the hell can one find a complete list of all the theme components (classes) and their respective configurable attributes?  i've been wasting an hour googling to find just a few examples here and there, but basically nothing telling me what the full set of configurable theme component might be and all their possible values. i mean, seriously, don't the developers keep docs or something. (and yes i went to the official and unofficial docs page, both of which are a joke in terms of the depth of detail available. i am seriously pissed off--when i write code, i document everything, down to the single smallest detail possible, no matter how stupid it seems at the time regardless of all the hooting and jeering that causes from the crowd of the "it is so 'obvious' that no one will ever need to read up on it." wrong! you never know what kind of user or coder noob might use your software later and who would find an exhaustive documentation quite useful. s/he'll thank you for it. or curse you if it's missing, and rightly so. in other words, if you are gonna do something, why do a 1/2-assed job when you can give a 110%? i never understood this shoddy attitude. perfection, man. perfection.  if jobs hadn't strived for it, you macbook would suck as bad as a Lenovo Thinkpad. think about that for a moment, you goddam slackers.)


anyway, rant over--this is what i am talking about:


[

    {

        "class": "name_of_theme_component",

        "configurable_property": "desired_value",

        "another_property": "desired_value"

    },

    {

        "class": "another_theme_component",

        "configurable_property": "desired_value"

    }

]


+1

selection-expand to line

svalere 11 year бұрын 0

in selection menu the shortcut for 'Expand to line' is not there, and 'Super+l' does not work, yet it is included in the Key Bindings - Default?

+1

Install and run subl from .deb file on a headless server

Michael Kropat 11 year бұрын 0
Basically I just want to be able to do this:

ssh -fX server.example.com subl -w

But after installing Sublime Text 3 from the .deb file on a headless Ubuntu server, subl fails to run, printing out many lines about missing libraries:

$ subl 2>&1 | awk '{ print $NF }' | sort | uniq
libcairo.so<br>libgdk-x11-2.0.so
libgtk-x11-2.0.so
libpango-1.0.so
libpangocairo-1.0.so

I can manually install the depencies with:

$ sudo apt-get install libcairo2 libgtk2.0-0 libpango1.0-0
Then it works. But it would be easier if the depencies were listed in the .deb file, so I don't have to figure out the names of all the required packages each time I install Sublime Text on a new server.

As you can see, there are no dependencies listed currently:

$ dpkg-deb --info sublime-text_build-3059_amd64.deb 
 new debian package, version 2.0.
 size 6253946 bytes: control archive= 313 bytes.
     247 bytes,     8 lines      control              
 Package: sublime-text
 Version: 3059
 Architecture: amd64
 Maintainer: Sublime HQ <support@sublimetext.com>
 Section: editors
 Priority: optional
 Description: Sublime Text is a sophisticated text editor for code, markup and prose
 Installed-Size: 14200
+1

Right-click preview tab to make it a real (permanent) tab

Andrew Culver 11 year бұрын 0
Before I knew about double-clicking to open a file NOT in preview mode, I instinctively tried to solve the problem by right-clicking on the tab hoping to find a menu item to do that (you know, in addition the "Close, Close other tabs, Close tabs to the right, etc." menu. Maybe others would do the same and lower their learning curve.
+1

django, html and javascript code all in one recognition please :)

Christopher Stone 9 year бұрын 0

I am developing a project in Django... the only thing is, Django can use multiple formats in one file... for example it has tags that work in the html document that look like this {{variable}}.


It also has tags like this {% load staticfiles %} and {% extends 'base.html' %}...


html can also run javascript code within <script> tags but when html syntax highlighting is selected in the view menu, none of the javascript shows up correctly...


The opposite happens when you choose javascript syntax highlighting in the view menu, javascript shows up but not html...


Don't get me wrong, I think you have done an amassing job to make this super editor...


I would like to suggest that you add a Django code highlighting syntax to your already extensive list to make a mixed mode highlighting of all the different coding languages that Django, and maybe other languages use...


I hope you find this information constructive


Thanks in advance


Kind regards


Chris