Home Download Buy Blog Forum Support

A few things i need to crack!

A few things i need to crack!

Postby farfromrefuge on Mon Oct 19, 2009 2:54 pm

hi,

I almost ready to buy ST but there are still a few things i really miss in it but may be they already exist ...

- Function list: Notepad and some other have a function list for common languages. Is there such a thing in ST?

- Actually something i would love to see in ST. When you do ALT+F3 it highlights all occurrences of the word selected. The tricky think is to find those occurrences in a big file. I know i can use next or previous, but seeing them on the minimap or like google chrome or eclipse in the scrollbar would be amazing.

- is there language rules for cmake somewhere?

Thanks a lot, i am really falling in love
farfromrefuge
 
Posts: 38
Joined: Mon Oct 19, 2009 11:49 am

Re: A few things i need to crack!

Postby EJ12N on Mon Oct 19, 2009 3:14 pm

- Function list: Notepad and some other have a function list for common languages. Is there such a thing in ST?

look for the ctags package from sublimator http://bitbucket.org/sublimator

- Actually something i would love to see in ST. When you do ALT+F3 it highlights all occurrences of the word selected. The tricky think is to find those occurrences in a big file. I know i can use next or previous, but seeing them on the minimap or like google chrome or eclipse in the scrollbar would be amazing.

Change your selection color in the theme to something that stands out in the minimap :)

I don't know about the cmake stuff
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: A few things i need to crack!

Postby farfromrefuge on Mon Oct 19, 2009 3:37 pm

EJ12N wrote:
- Function list: Notepad and some other have a function list for common languages. Is there such a thing in ST?

look for the ctags package from sublimator http://bitbucket.org/sublimator

I will look into CTags but actually you dont need CTAgs to get a function list in any language :s and it would mean update CTAGS to update function list.

EJ12N wrote:
- Actually something i would love to see in ST. When you do ALT+F3 it highlights all occurrences of the word selected. The tricky think is to find those occurrences in a big file. I know i can use next or previous, but seeing them on the minimap or like google chrome or eclipse in the scrollbar would be amazing.

Change your selection color in the theme to something that stands out in the minimap :)

Good idea :P Will try!

Thanks
farfromrefuge
 
Posts: 38
Joined: Mon Oct 19, 2009 11:49 am

Re: A few things i need to crack!

Postby jps on Mon Oct 19, 2009 9:22 pm

farfromrefuge wrote:is there language rules for cmake somewhere?


The .tmLanguage file at http://svn.textmate.org/trunk/Bundles/C ... /Syntaxes/ should do the trick - just make a directory under Packages called CMake, and place it in there.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: A few things i need to crack!

Postby Anomareh on Mon Oct 19, 2009 10:38 pm

farfromrefuge wrote:- Actually something i would love to see in ST. When you do ALT+F3 it highlights all occurrences of the word selected. The tricky think is to find those occurrences in a big file. I know i can use next or previous, but seeing them on the minimap or like google chrome or eclipse in the scrollbar would be amazing.


Something I found useful that was in one of the newer versions of n++ was when you highlighted a word it would automatically highlight (not select) all other occurrences of the word in the file.

I know currently you can just alt + f3 as said or do a quick find all but the quick highlight was pretty nice. Just a quick ctrl + d or double click on the word and you can find what part of the file you're looking for. Sometimes it's not necessary to select everything when you're just looking for another part of the file by a word.

Just a small suggestion :s
Anomareh
 
Posts: 221
Joined: Thu Oct 01, 2009 7:32 pm

Re: A few things i need to crack!

Postby EJ12N on Tue Oct 20, 2009 1:53 am

Here's a screenshot of my theme... and example of what you most likely want :)

Image
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: A few things i need to crack!

Postby farfromrefuge on Tue Oct 20, 2009 7:30 am

Thanks for the cmake syntax. I would like to add file pattern for that syntax. Where can i do that?

For the function list you just perfectly understood my need ;)
Really hope to see that in a near future in ST.

Thanks
farfromrefuge
 
Posts: 38
Joined: Mon Oct 19, 2009 11:49 am

Re: A few things i need to crack!

Postby jps on Tue Oct 20, 2009 8:49 am

farfromrefuge wrote:I would like to add file pattern for that syntax. Where can i do that?


Open a file with the extension you'd like to use, click on the syntax selector on the status bar, then 'Open all with current extension as/CMake List'
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: A few things i need to crack!

Postby farfromrefuge on Tue Oct 20, 2009 9:14 am

That wouldnt be enough.
The files i need to add are files name CMakeLists.txt
I just want to apply it to those files and not all txt files, is that possible?
farfromrefuge
 
Posts: 38
Joined: Mon Oct 19, 2009 11:49 am

Re: A few things i need to crack!

Postby vim on Tue Oct 20, 2009 9:17 am

farfromrefuge wrote:That wouldnt be enough.
The files i need to add are files name CMakeLists.txt
I just want to apply it to those files and not all txt files, is that possible?


see here: viewtopic.php?f=4&t=627&p=2382&hilit=makefile&sid=30f3c09bdfac98ea462e9cc959176d08#p2382
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Next

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests