Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
                       Ingen lignende emner blev fundet.
                  
                   
        +11
    
    
    
        
            
            
	
		
		
		
			 Code folding for diff (patch) files
		
		
	
              
            
            
            Code folding for diff (patch) files
        
    
    
    
    
    
    
    
	I would expect code folding for diff files to fold hunks and files.
So if I do "Fold All" on a diff file, I would see a list of files that are patched by this diff.  Unfolding such a file, I would get a list of hunks, and unfolding a hunk I would get the contents of that hunk.
What do people think?
 
        +11
    
    
    
        
            
            
	
		
		
		
			 Using F3 in a macro
		
		
	
              
            
            
            Using F3 in a macro
        
    
    
    
    
    
    
    
	I bought ST2 a few months ago but ending up switching back to Notepad++ because I use this pattern so much. I'd like to be able to do this:
Ctrl+f
[type search query]
Esc
Ctrl+q
F3
[some action]
Ctrl+q
The macro would then find the next instance of my search query, then perform [some action].
Ctrl+f
[type search query]
Esc
Ctrl+q
F3
[some action]
Ctrl+q
The macro would then find the next instance of my search query, then perform [some action].
 
        +11
    
    
    
        
            
            
	
		
		
		
			 Encoding missing: UTF8 with BOM
		
		
	
              
            
            
            Encoding missing: UTF8 with BOM
        
    
    
    
    
    
    
    
	Encoding missing: UTF8 with BOM (Byte Order Mark). Current UTF8 creates a file without BOM. Need to open the file in Notepad++ for this.
 
        +11
    
    
    
        
            
            
	
		
		
		
			 New windows should use position of last closed window
		
		
	
              
            
            
            New windows should use position of last closed window
        
    
    
    
    
    
    
    
	If I close a window, and then create a new one, the position and dimensions of the old window should be re-used for the new one. Currently (on Mac), new windows are always centred on the screen.
 
        +11
    
    
    
        
        
        Besvaret
        
        
    
    
    
    
        
    
    
    
        
            
            
	
		
		
		
			 Setting line numbers color?
		
		
	
              
            
            
            Setting line numbers color?
        
    
    
    
    
    
    
    
	It appears line numbers color depend on the settings.foreground key, with a little transparency added.
I'd like to make line numbers almost transparent, so they wont introduce visual noise but still be visible, is it possible?
I'd like to make line numbers almost transparent, so they wont introduce visual noise but still be visible, is it possible?
 
            
            Svar
        
        
            Jon Skinner
             15 år siden
        
        Added in build 2020, you can now use the "gutterForeground" key in .tmTheme files
 
        +11
    
    
    
        
            
            
	
		
		
		
			 PHP inside a Javascript string Highlighting bug
		
		
	
              
            
            
            PHP inside a Javascript string Highlighting bug
        
    
    
    
    
    
    
    
	Sublime doesn't recognize php tags inside a javascript string:
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
		
		
	
              
            
            
            Recursive code folding
        
    
    
    
    
    
    
    
	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.
I mean: CMD+k1 would produce CMD + k9, CMD + k8, ....CMD + k2, CMD + k1.
Kundesupport af UserEcho
 
 
 
 
	
 
		
		
	
	