Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

+3

Goto Symbol typedef and struct tagging is broken in sublime 3 beta

Tai Horgan vor 12 Jahren 0

As of Sublime Text 3 beta build 3008

Goto symbol understands typedefs, but doesn't understand struct definitions.

For example tagging to my_struct defined as


struct my_struct_internal { blah };

typedef my_struct_internal my_struct;


works, but defined as


typedef struct my_struct_internal { blah } my_struct;


does not.


Additionally, Sublime 3 seems to believe that function pointer typedefs are symbol definitions for their output types, i.e.


typedef return_type ( *myFunction ) ( args )


should be a definition for myFunction, but st3 believes it is a definition for return_type.

+3

CMD + 9 (or ctrl + 9) goes to the last tab

Sjoerd van Elferen vor 12 Jahren aktualisiert von eproxus vor 12 Jahren 1

In browsers cmd + 9 (on OS X) goes to the last tab. This is a nice shortcut to have for tab control. Could this be added to Sublime?


Thanks for this great piece of software!

+3

UnicodeEncodeError: 'ascii' codec can't encode character

Michal Mikoláš vor 13 Jahren aktualisiert vor 13 Jahren 3
Hello, in some packages, I got an error: 

Exception in thread Thread-13:
Traceback (most recent call last):
  File ".\threading.py", line 532, in __bootstrap_inner
  File ".\Package Control.py", line 1890, in run
  File ".\Package Control.py", line 1759, in make_package_list
  File ".\Package Control.py", line 1121, in list_available_packages
  File ".\Package Control.py", line 1066, in list_repositories
  File ".\Package Control.py", line 175, in get_repositories
  File ".\Package Control.py", line 148, in fetch_channel
  File ".\Package Control.py", line 1007, in download_url
  File ".\Package Control.py", line 602, in download
  File ".\urllib2.py", line 126, in urlopen
  File ".\urllib2.py", line 391, in open
  File ".\urllib2.py", line 409, in _open
  File ".\urllib2.py", line 369, in _call_chain
  File ".\Package Control.py", line 92, in https_open
  File ".\urllib2.py", line 1133, in do_open
  File ".\httplib.py", line 910, in request
  File ".\httplib.py", line 947, in _send_request
  File ".\httplib.py", line 904, in endheaders
  File ".\httplib.py", line 776, in _send_output
  File ".\httplib.py", line 735, in send
  File ".\Package Control.py", line 71, in connect
  File ".\ssl.py", line 350, in wrap_socket
  File ".\ssl.py", line 113, in __init__
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 23: ordinal not in range(128)

This error shows me, when I use plugin SublimePackageControl>install, or plugin Nettuts-Fetch>Fetch>PackageFile, and maybe in some other plugins. Because of that, I think that error is in SublimeText 2 and not in packages directly. 

I use SublimeText 2 beta, build 2181. 

Thanks
+3

Changing fade_fold_buttons to false makes folding arrows disappear for all other open tabs.

Austin Cargol vor 13 Jahren aktualisiert vor 13 Jahren 0
I added
"fade_fold_buttons": false
to my user settings, and after saving, the code folding arrow appears for the settings file, but for all the other files open in other tabs, the folding arrows disappear. It's only a minor burden since any files that are subsequently opened will show the code arrows, so you just have to close the existing file and reopen it, but it would be a nice fix.
+3

Make typing "1G" work in Vintage mode

Eric Lindvall vor 13 Jahren 0
I expect typing `1G` to seek to line 1 (or `25G` go to line 25) in Vintage mode.
+3

Make completions smarter with regards to word separators

guillermooo vor 14 Jahren 0
Completions seem to take word separators into account, but some characters like _, if not listed as word separators, prevent completions from kicking in.

Maybe a soft_word_separators could be used, or a completions-specific list of word_separators?
+3

illumos version

Damian Wojsław vor 12 Jahren 0
Would there be a chance of getting version for illumos based systems, say OpenIndiana? I am very happy with Windows version and would love to use it on my primary system.

 

+3

Get inspiration from "Learnable Programming" by Bret Victor

vladstudio vor 12 Jahren 0

An excellent article about programming environment:

http://worrydream.com/LearnableProgramming/ 

Discussion:

http://news.ycombinator.com/item?id=4577133 

If only Sublime Text could implement at least some of great ideas expressed there, how awesome it would be!

+3

How do I specify a folder name in a project?

Jon Culver vor 14 Jahren aktualisiert von Remy Bach vor 13 Jahren 1
Exactly as mentioned here, from the original FAQ:


Can I specify a 'name' for my project folder directories?
+3

"command": "show_overlay", "args": {"overlay": "goto", "text": "xxxx"} does not auto select first one

MoonFruit vor 11 Jahren 0

such as the title

when run:

"command": "show_overlay", "args": {"overlay": "command_palette", "text": "xxxx"}

sublime text auto select the first one, but when run:

"command": "show_overlay", "args": {"overlay": "goto", "text": "xxxx"}

sublime text does not auto select the first one, so I must press down key to select it

Is this a BUG?