-1

Extend scope to included Files

sp0r 13 лет назад 0
Like: function xxx() from file inc.php completes in file index.php because inc.php ist included via include or requiere in index.php
-1

Block comment in Ruby

Alex Luckjanov 12 лет назад обновлен 12 лет назад 2

I select some lines and press ctrl+shift+/:

Image 178

It's incorrect. I expect to see this:

Image 179

-1

Remove unnecessary/unused File types

vilas kadam 11 лет назад обновлен Andreas Backx 11 лет назад 1

I primarily use sublime for Web development, and the file types in use are HTML, CSS, JS, PHP.  I want to remove the unnecessary filetypes and syntax files that gets loaded like c++, erlang, java etc. Is there a way to configure this? 

-1

view.show(sublime.Region(a, b)) scrolls to wrong region in view

Oktay Acikalin 13 лет назад обновлен 13 лет назад 6
I've written center_view_on_line.py. Today I wanted to refactor it 'cause it behaved strangely in some cases. Now I'm trying to come up with an algorithm to center the visible region over the current line or selection. I've got the final row numbers and could translate them into a proper region. If I compare the visible region I get by scrolling there manually and the target region my script calculates they seem to be nearly identical. But the view scrolls somewhere else - often the cursor is at the top of the screen. When querying the visible region again the coords are totally off.

Some vars I work with:
visible_region = (366, 998) # manually centered view
selection = [26, 26] # cursor in line w/o selection
region = [26, 26] # in this case same as selection
visible_region = [16, 36] # first row, last row from above
size = 2099 # self.view.size()
region_size = 0 # diff between region end and begin
visible_size = 20 # diff between last and first row
begin = 16 # calculated first row
end = 36 # calculated last row
target_region = (366, 946) # calculated for self.view.show()
target_region = [16, 36] # translated into first, last row
visible_region = (603, 1351) # region I get after self.view.show()

Any idea?
-1

Bug in multiline commenting

Kim Blomqvist 12 лет назад 0

If I select the following code below and press Ctrl-* to comment the whole block, ST2 only uncomments this line /* Disable master mode and enable as slave with SLA */.


void aery::twi_init_slave(uint16_t sla)
{
	/* Software reset. */
	aery::twi->CR.swrst = 1;
	while (aery::twi->CR.swrst);

	/* Disable master mode and enable as slave with SLA */
	aery::twi->SMR.sadr = sla;
	aery::twi->CR.msdis = 1;
	aery::twi->CR.sven = 1;
}
Result:
void aery::twi_init_slave(uint16_t sla)
{
	/* Software reset. */
	aery::twi->CR.swrst = 1;
	while (aery::twi->CR.swrst);

	 Disable master mode and enable as slave with SLA 
	aery::twi->SMR.sadr = sla;
	aery::twi->CR.msdis = 1;
	aery::twi->CR.sven = 1;
}
Expected result:
// void aery::twi_init_slave(uint16_t sla)
// {
// 	/* Software reset. */
// 	aery::twi->CR.swrst = 1;
// 	while (aery::twi->CR.swrst);

// 	/* Disable master mode and enable as slave with SLA */
// 	aery::twi->SMR.sadr = sla;
// 	aery::twi->CR.msdis = 1;
// 	aery::twi->CR.sven = 1;
// }
-1

"z" key misbehaving in Vintage insert mode

Trevor Whitney 12 лет назад обновлен 12 лет назад 0
I'm using Sublime Text 2, build 2139, on Ubuntu linux 11.10.

When I enable Vintage and enter insert mode, I am unable to type two consecutive z's. The second z is causing Sublime to replace the previous letter. So, for example, if I type "pizza", I will get "pia". However, type "size" has the expected result. Disabling Vintage alleviates the problem, but then I lose all my wonderful Vi shortcuts, which makes me very sad :(
-1

Bug of replacing text when "preserve case" is active.

Ziang Song 11 лет назад обновлен 11 лет назад 1

Find What: dddWooID

Replace with: eeeID


However, the result is eeeId


Please fix it. I am using 2.0.1 Build 2217. Thank you.

-1

Using tag#with-hyphen doesn't work.

braftre 12 лет назад обновлен 12 лет назад 0
Would it be possible allow hypens when using tag#with-hyphen/tag.with-hyphen like in the snippets? As we use it as a common naming convention for css styles.

Also great work mate love this editor more and more.
-1

Make escape set focus on sidebar when focus is set on the editor

aristidesfl 12 лет назад 0
Currently escape has no function while the focus is on the editor and no panels are open.

It is possible to change the keymap to achieve this by verifying negatively if all the other possible contexts for the escape key are not met.

This is very cumbersome and doesn't provide compatibility should new cases for the use of escape be added to the keymap file in future versions.

Would be nice to have a key which indicates if the focus is set on the text editor so the context of the escape key could be set in a affirmative manner.

Anyway, this doesn't really work because escape is hardset to take focus from the sidebar so it only gains focus momentainly and then goes away..
-1

Support for multi-user environment ($SUBLIME_DATA)

eric ripa 12 лет назад обновлен 12 лет назад 1
Today we can launch Sublime Text with --data to use a custom data dir location. It would be good to have the option to set for example $SUBLIME_DATA to a custom location to make this change "permanent".

This would make it easier to use Sublime Text in a multi-user environment (like a Citrix/VNC terminal service type of corporate environment) where only one central installation of Sublime is present and each user have their own data directory. 
-1

Custom closing bracket position for CSS

Илья 12 лет назад 0

Here is an example of what is happening now:

.class {


}


So when I'm typing ".class {" SublimeText automatically inserts "}" (which is correct). Then I press Enter and get this:

.class {

    #CURSOR_POSITION#

}


But what I really want is (attention to the closing bracket - it's indented by additional tab):

.class {

    #CURSOR_POSITION#

    }


I've even seen (ok, it was only once) in some editor special setting for this. Now I start using SublimeText (which is cool!) and I feel that it can be customized in a such way but I'm not quite sure how.

-1

The Avanti Law Group: Bankruptcy and Debt Settlement Services

Efrain Hensley 10 лет назад 0
Too many consumers feel that their debts are overwhelming and there is nothing they can do other than file a bankruptcy. Due to lack of information, many consumers turn prematurely to bankruptcy. We can help you avoid bankruptcy by settling your unsecured debts on your behalf.
Youtube video


-1

open files list window

dannie s 12 лет назад 0
It would be nice to have the functionality that was in MultiEdit for DOS/Windows - open files list with selection ability (or maybe quicksearch), called by customizable hotkey.
-1
Отклонен

unify shortcuts under windows and linux

Antoine Hebert 12 лет назад обновлен Jon Skinner 12 лет назад 1
I use sublime text on Windows and Linux and some shortcuts are different which is always confusing me. Specially the multiple selection which is shift+alt+down on linux ans ctrl+alt+down on windows.
Ответ
Jon Skinner 12 лет назад
Key bindings are the same between Windows and Linux, except where platform conventions dictate otherwise (e.g. Ctrl+Q to quit on linux), or where the window manager will typically eat the key bindings on Linux.
-1

Support Dart

Mathieu Breton 12 лет назад 0
Hi,

Could TextMate support the Dart language (for the syntax colorization)

Regards.
-1

trash folders, delete unempty folders

Tomáš Ivánek 12 лет назад 0
It would be cool to add a ability to trash folders and ability to delete unempty folders from sidebar
-1

Don't move the view position when I adjust tab size

Jeff Yeo 13 лет назад обновлен 13 лет назад 1
It's especially big deal when the file is like 8000 lines long.
Resize the tab window size just a bit and I will be looking at a whole new different place in the file.
I don't think the way it is now is beneficial to anyone.

Please make it so that current view is kept still as I adjust the tab size. 
-1

"Open Recent" file names not parsed correctly

Greg Corrigan 11 лет назад 0

May be just a Linux issue, but when I go to "Open Recent", the menu is not properly escaping the file names listed, so underscores become alt+[letter] key combination indicators.


For example, the file stats_controller is listed as statscontroller, with the "c" in the middle underlined.


It does open the file properly. Just needs to be escaped properly in the menu control, and unescaped when executing the fopen()


-1

Automatic docbloc comments

Hari K T 12 лет назад обновлен Sven Axelsson 12 лет назад 1
Automatic docbloc comments
 
 /**

adding the above and pressing enter should generate the docblox comments.

Eg :

    /**
     * @param type $hello
     * @param type $world
     * @return type
     */
    public function helloWorld( $hello , $world)
    {
    }
    
Netbeans has the functionality, not sure whether I am missing something in Sublime
-1

Toggle comment shortcut removes other comments

Romain Goncalves 12 лет назад обновлен 12 лет назад 0
Situation : 
  • File type : .js
  • I have a class description comment at the start of my file :
    /**
     * Class description
     */
  • I have a big comment block at the end of the file (classic /* ... */)

How to reproduce : with that similar file structure, select multiple lines, and use the "Toggle Comment" shortcut (Ctrl+/ on my machine)

At first you think nothing has happened, and if you try it again, it will comment your lines. But what you may not have noticed is the effects of the first shortcut use : it removed the "/*" at the start the file and the "*/" at the end, causing execution issues.


I can reproduce the bug on 2 computers (build 2126 on one and 2181 on the other) with the same effects. Both computers use Windows XP Pro x86

Сервис поддержки клиентов работает на платформе UserEcho