Is there a way to prevent textmate from auto-typing a ; after every : when editing CSS? I still want it to auto add closing brackets and curly braces. Just not semi-colons. Is this somewhere in the CSS textmate bundle?
Go to your bundle editor (Bundles -> Bundle Editor -> Show Bundle Editor)
At the top, where it says "Show All", change that to "Preferences".
Scroll down to CSS, you'll see one named "PropertyName". Delete it (highlight it and click the minus sign at the bottom of the editor).
Related
After typing ScaleX= the cursor moves to the inside of two quotation marks. After typing whatever is needed inside them - how do I exit the closing quotation mark without having to click on the right-arrow button (which is more cumbersome than using Enter or Tab or just typing a quotation mark, which I expected to work)?
There are settings that help you in Disabling these options for Visual Studio.
For Xaml
1) Go to Tools -> Options
2) Click on Show All Settings if it is unchecked.
3) Under Text Editor Navigate to XAML
4) Under Miscellaneous, Turn On/Off the options.
This is a screenshot of my Settings.
I am editing a Makefile in XCode. How do I actually insert a tab character, ASCII value 9? If I press TAB, it inserts 4 spaces, and make complains because decades ago the creator of make had a handful of users and didn't want to change the program to not require literal tabs because it would break backwards compatibility or something.
Normally when editing a Makefile I just copy and paste an existing TAB character, but with a new clean one, I cannot do this.
In Xcode 6.4, at least, you can enter a literal tab with Option-Tab. This seems to work regardless of the indentation settings.
You could just change your editing preference is Xcode to use tabs while editing a makefile
Easier than messing about moving to other editors and pasting literals.
close the file in Xcode
open the file in TextEdit
be sure to check the "Ignore rich text commands" at the bottom of the open dialog
position the cursor at the beginning of a line and push TAB
close TextEdit
open the file in Xcode
select "Show Invisibles" from the "Editor" menu
note that ironically, the TABs are not displayed
however, spaces are displayed, which allows you to tell which lines start with tabs
copy the tab character as needed
If you ever meet that guy who that who thought that starting a line with a TAB was a good idea, slap him upside the back of the head, and slap him hard!!!
I've taken to opening a TextEdit, placing a TAB there, then copying + pasting it into XCode.
When I first started to work with Xcode, single clicking on a file name in the Groups&Files pane would open that file up for editing in the embedded editing pane. Double clicking the file would open it up in a new window for editing.
Now, single clicking the file does nothing. Double clicking the file will open it up in a new window as before.
How can I set xcode to open up the file in the embedded editing pane by single clicking the file name in the Groups&Files pane?
In Xcode 3.x, make sure you're using the Default or All-in-one layout--not Condensed. If the editor pane is not visible, it might be shrunk down to the bottom of the window. Look for a small gray dot at the bottom and double-click it. The editor pane should then expand up.
My textmate suddenly stopped recognizing comments in code and the shortcut for commenting out code (Command + /).
I have found Comments in the Bundle Editor for HTML, but it doesn't look like I can set an activation key for it or anything.
Does anyone have any experience with this part of TextMate?
cheers!
Maybe it went out of scope? Doesn't matter what caused it, it's easy enough to fix.
Open your Bundle Editor
ctrl-option-cmd-B
Make sure that the Menu button at the
top left-hand side of the Bundle
Editor displays Show All
If it doesn't then click the up/down
arrow and change it so that does
Scroll down until you find the
Source bundle
Click the arrow to the left of
Source to display the Bundle contents
looking at the Source Bundle items
with green "C"s next to them, find the item
called Comment Line/Selection
Click Comment Line/Selection
In the upper right-hand corner of the
Bundle Editor, click the Settings
button
Next to Activation, select the menu
item Key Equivalent
Whatever is in the text box to the
right, replace it with cmd-/ (with
your cursor in the text field, press
the keys "cmd" and then "forward
slash"
Verify that the item Scope Selector
text area is blank--nothing should be
in there
Exit the Bundle Editor, Restart
TextMate, open a new editor window
(cmd-N) then enter cmd-/ to verify
that it's working
This command is not limited by scope so it will work in any context/environment/language, but because it is not limited by scope it can be overridden by a Bundle-specific comment command (e.g., a comment command in the HTML Bundle, so, if after you've followed those steps, it's still not working, you just need to find that Bundle-specific comment command and either fix it (using the steps above as a template) or then use the steps above as a template) or deleting it.
While you're at it, you might as well fix the command in your HTML Bundle:
from your Bundle Editor, scroll down to the HTML Bundle then click on the Comment item (you said in your Q, you had located it). Click the Settings button on the upper right-hand corner, and verify that Activation is Key Equivalent and cmd-/ is in the adjacent text box. Next verify that Scope Selector is text.html
In the Visual Studio editor when you pull the scroll bar down to the bottom of the file, all you see is a blank page, since the text has scrolled up past the top of the text editor window. This makes scrolling to the bottom difficult because you can't just pull the scroll bar quickly all the way down but have to carefully position the cursor so you can still see your code.
How can I make it so that, as in NotePad, when I pull the scroll bar down to the bottom of the file, I see the bottom of the file?
There is a configuration option provided in VSCode for the functionality you specified. To enable it, go to File -> Preferences -> user settings
On the right side of the editor in settings.json paste the below line at the bottom (before closing bracket), save and close.
"editor.scrollBeyondLastLine": false
This will prevent the editor from scrolling beyond the last line.
Inside of VS Code, Press command+,, and search for "Scroll Beyond Last Line" and untick it
If you are willing to use the keyboard instead, pressing Ctrl+End will achieve what you want.