You can configure TextEdit to behave like Notepad. Go to TextEdit -> Preferences and set Format to Plain text and in Options turn off any grammar and spelling corrections and Smart options.
Alternatively I work with TextMate.
some links before my ramble:
What VS Code uses for syntax highlighting (TextMate): https://macromates.com/manual/en/language_grammars
VS Code's somewhat brief docs on the topic: https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide
A sample theme file: https://github.com/sveggiani/vscode-field-lights/blob/master/themes/Field%20Lights-color-theme.json
VSCode uses what's called TextMate scopes to define what gets highlighted how. A textmate "scope" is something like a comment, a variable, a function/method, a string or number, etc. Because these vary by language, some themes are better for some languages than others. (To see what "scope" a bit of text is, you can hit F1
and punch in inspect TM scopes
and click on the text you're curious about - see 2nd link for more.) A VSCode theme couples a TextMate scope to a color.
I've linked my theme of choice, scroll down to 'tokenColors' for the relevant bits. You'll see how the "scopes" are linked to various settings, primarily "foreground"
hope this answers some questions !
You could try TextMate 2.. https://macromates.com/
This is what I use for PHP, mostly because it's fairly lightweight, and loads very quickly. It has syntax coloring, but limited IDE features
There's also Atom, which is similar to SublimeText, but produced by GitHub.
Really though, they are all free anyway, so just try them all and see which one you're most productive with.
Honestly, if that works it works. I prefer not doing virtual machines if I can avoid it and also have a lot of preference toward the mac eco system in terms of dev stuff. A local shell is going to almost always be faster than a VM shell, and it's all local data to my system so I don't have to switch between or load anything additional. I also love using homebrew package manager aka brew install
to install different components I need through the command line. Whether it's mongoDB, node, whatever. Homebrew makes it super easy.
Textmate is an awesome editor for mac Homebrew package manager is fantastic Hyper.app terminal replacement is my favorite shell ever
It's definitely not a necessity for people to use a mac by any means. But after using a mac for so long in dev it has become an absolute necessity for me to use it. Once you get the feel for a mac (especially Ruby stuff) you won't want to go back to switching between virtual machines. But again, it probably works just fine for you. It's a matter of convenience and money. I was fine with spending $2000 on a used MacBook Pro off the Apple refurb page for the sake of maintaining a seamless workflow. Not to mention the 16gb ram, 500gb ssd, whatever the best/close to best processor was, and most of all... that damn Retina display. So crisp. Text looks amazing on it.
No worries. So, first thing I notice is you've got some unmatched quotes. Also, the wrong character for double quotes in a couple places (”
instead of "
), but that might've just been Safari's autocorrect. In any case, you'd do well to use an editor such as TextMate or TextWrangler that supports shell syntax highlighting.
Anyway, here's the fixed version... Any luck?
Here's a few good ideas to replace some apps with, and they are free:
~~Alfred~~ Quicksilver - can do (a lot) more with apps, better search mechanics, themable, very fast, always free
~~Sublime Text~~ TextMate - better design, tons of features, and the beta (which won't expire) is fast and free (older version requires purchase, but does not work on newer Macs)
~~Things~~ Wunderlist - great design, multiple task lists, subtasks, syncs with iCloud to iPad, iPhone, and Android, and free
Something like TextMate works well for universal code writing but IDLE, which comes with python when you download it, is really nice for just python programming. In terms of tips I would say try to find some easy code you wrote in C# or Java and try to convert it into Python and then work forward to hard things. Another place is the sub reddit r/learnpython.
Many IDEs support, or can support, "TextMate Format" for snippets.
https://macromates.com/manual/en/snippets
Thus, you can keep your snippets in version control, and clone or link them on each machine to each IDE across an entire team. This allows them to be shared across users, and also across IDEs.
Try TextMate.
I use it on mac as a simple notepad++ style software (which stores only text without formatting, have multiple tabs and save even unsaved files after reboot).
https://macromates.com/
Try it, it's free and cool!
p.s. wow ! they added more functionality recently and I love it. Simple and just working
https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide https://macromates.com/manual/en/language_grammars
Here's some doc about syntax highlight. It's basically tokenize code with some regex and you only need to inject what you want into HTML.
A cue file usually looks like this:
FILE "NameOfGame.bin" BINARY
TRACK 01 MODE2/2352
INDEX 01 00:00:00
Place it in the same directory (folder) as the bin file. As for multiple disks, here is the official guide for multiple disks from the wiki:
​
You need to create a .m3u
file containing the filenames of all the cue sheets for the game. The file must be saved in a folder together with all the cue sheets and their associated files in order for them to be automatically imported. Also, the cue sheets for the game must not already be pre-imported in your library. Note: Mega CD/Sega CD is not supported.
Example:
Note: For CloneCD rips, only add the .ccd filenames to the .m3u file.
Use Textmate to make the ignore file.
The file must be called .plexignore
Dot files are hidden by default on OS X. cmd + shift + .
will show them in the Finder.
I still really like textmate 2.0. Bundles are mostly written in ruby.
You can modernize the version of ruby that teammate uses by setting it in the .tm_properties file.
for example:
TM_RUBY = "/Users/<you>/.rvm/bin/rvm-auto-ruby"
https://macromates.com
My personal favourite is Textmate 2 (which is free): https://macromates.com
I've tried atom, vs studio code, sublime text, bbedit... but always come back to Textmate.
TLDR: VS Code is dumb. It thinks every file is a text file. When you apply a language, a set of regexes (grammars) are loaded, this is what applies the various Scopes, the TextMate guys came up with it, hence TM Scope. When setting a grammar, you can name it anything, but it is best to use conventions mentioned at https://macromates.com/manual/en/language_grammars for a wider array of themes to know the scope.
That license policy is indeed the correct one for v1 and possibly will also be the license fee for a future 2.x product.
>We may charge for updates after 2.0 (even 2.1) but when/if we release a paid update, we will make it free for anyone who bought within the last 6 months.
​
>Version 2.0 of TextMate is being developed as open source. This doesn’t change that TextMate is a commercial product, and while current prebuilt binaries work without a license key, they may need one in the future.
I have an active license for v1 myself and would gladly pay the same amount for a future v2, but for now let's enjoy the free ride ;-)
​
I use Macromates Textmate and have over the last 7 years. If you love TextWrangler and Sublime, then you'll feel right at home with Textmate. Version 2.x is free to use while still in development. It's currently RC status, but v2 has been in development for over several years.
Textmate has awesome bundles support (sort of like ATOM and Sublime) with support for many programming languages. Please check its support pages.
I've been working on my text editor project Accepted.
I've made it be able to open multiple files and added Tab bar. And added support for rmate protocol.
Supporting rmate protocol was needed to use this editor in my work. Since I always edit some text files through rmate protocol because opening editor on the server is not good due to network latency.
Those features are not released in crates.io but will be soon after some refactoring.
i've downloaded the app textmate from here: https://macromates.com after that i copied the text from the "node liste" from 2.0.0.2 from here https://chainz.cryptoid.info/strat/#!network and insert it in a new file and save as stratis.conf into the folder /library/application support/stratis .. open stratis and wait a bit until it get more connections
My go to is TextMate 2 for plists(binary and xml), profiles, regular xml. And use the xml bundle's tidy function to format the plists into a more pleasant and legible format. Download the beta it's free. https://macromates.com/downloads Second up would be atom. A decent open source editor from the folks over at github. https://atom.io
lol. First time I selected a keyword and hit command-D in Sublime Text was a revelation (it has a multicursor mode, so you can autoselect everything similar and then replace it, add something before it or inside it, etc.). I think TextMate actually invented the multicursor thing (as well as a number of other editing niceties)
So you're saying you have or haven't used textmate? Cause you can definitely do some block editing.
http://manual.macromates.com/en/working_with_text#column_selections
And vim: https://mkrmr.wordpress.com/2010/05/14/vim-tip-visual-block-editing/
Been using textmate for 10+ years, vim for maybe 18 years.
> Got help with the 'if' part on stackexchange.
> Yours looks more advanced, but what is the actual difference?
You forgot to link the post, so I couldn't tell you what the difference is.
As far as the error, my best guess is that macOS changed some character using "smart quotes". You can disable smart quotes all together or use a text editor that ignores the setting (i.e. TextMate or Text Wrangler).
Not sure if this is the best advice, but you might be better off staying away from Xcode for a while. It's too bloated and full of features that you simply don't need as a beginner.
I am also just learning c++, and have found things much easier since i started just using a simple text editor (i got textmate, for free, here: https://macromates.com/ )
If you're just practicing the syntax, you will mostly be doing small single-file programs, and all the xcode stuff is going to be 99% superfluous and just overly confusing. I find it much easier just to code in the text editor, and then open terminal, navigate to my file's directory, and then just do "make myFileName" and then " ./myFileName" to run.
In my opinion, the best LaTeX^1 editor for Mac is TextMate. It comes with a bunch of macros that make writing LaTeX a lot more convenient. Stuff like:
eq<tab>
begins an equation environment.[
produces []
with the cursor in the middle of the twocomplex expression
is selected, then typing (
produces (complex expression)
.The best part is that you can make your own macros based on what you find yourself needing to type too often. Here's a great guide to get you started.
^1 and non-LaTeX