Questions tagged [bbedit]

BBEdit is a proprietary text editor made by Bare Bones Software available for Mac OS X. It is marketed under the trademark slogan, "It doesn't suck."

BBEdit is a proprietary text editor made by Bare Bones Software. It was originally developed for Macintosh System Software 6 and is now available for Mac OS X.

BBEdit is marketed under the trademark slogan, "It doesn't suck."

BBEdit is designed for use by software developers and web designers. It has native support for many programming languages and custom modules can be created by users to support any language. BBEdit is not a word processor, meaning it does not have text formatting or page layout features.

The application contains powerful multi-file text searching capabilities including strong support for Perl-compatible regular expressions. BBEdit allows easy previewing and built-in debugging of HTML and provides built-in prototypes for most HTML constructs. It also includes FTP and SFTP tools and integrates with code management systems. BBEdit shows differences between file versions and allows for the merging of changes. Support for version control, including CVS, Perforce, and Subversion is built in.

(Copy from Wikipedia entry)

145 questions
3
votes
1 answer

Replace underscore with dash in url for given url extensions using GREP / Regex

I use BBEdit. BBEdit supports multi-file search and replace with GREP. Using this (copied from a Notepad++ post here at stackoverflow): (\bhref="|(?!^)\G)[^"<_]*\K_ I can get a list of all URLs containing underscores. The idea is to replace all the…
Stan Busk
  • 43
  • 7
3
votes
1 answer

Appending 0 (zero) to a grep match reference

tl;dr I want to add a 0 at the end of the first backreference (\1) from a grep search. How can I differentiate this from the tenth backreference (\10). Using grep in bbedit, I want to replace a part of a string with a part of that part of a string…
user10061371
3
votes
5 answers

Replace newline character with ',' in notepad or bbedit or using unix command tr?

I have to replace the newline character with ',' for using in some oracle command but in a single command. I can't figure out how to do it. Input: R1 R2 R3 R4 Required Output: 'R1','R2','R3','R4'
Learner
  • 1,344
  • 7
  • 23
  • 46
3
votes
3 answers

Use Grep to find blocks of text between two phrases (including the phrases)

Is it possible to use grep to high lite all of the text starting with: mutablePath = CGPathCreateMutable(); and ending with: CGPathAddPath(skinMutablePath, NULL, mutablePath); Where there is an arbitary amount of text in between those two…
Ser Pounce
  • 13,548
  • 14
  • 76
  • 162
3
votes
1 answer

Integrating jsLint into BBEdit

How do I incorporate jsLint into BBEdit? Environment: OSX Mountain Lion BBEdit 10.1.2 (3152) I installed Node.js (0.8.14) and ran sudo npm install -g jslint I am able to run jslint from the command line by running jslint…
losthorse
  • 1,450
  • 13
  • 31
2
votes
1 answer

BBEdit "Find" dialog

I find myself using BBEdit on a mac a lot during development (and pure text editing as well). It's great and fulfills pretty much all of my needs. However one really annoying thing I find with it is that the Find dialog closes automatically after…
Aleks G
  • 52,841
  • 25
  • 149
  • 233
2
votes
3 answers

BBEdit AppleScript for reformatting multiple files

I'm looking to write an Applescript which will utilize BBEdit — loop through a ton of HTML files and autoformat them (so the indentation is easier to read). So far I have: tell application "BBEdit" activate open {file "Macintosh HD:TEST…
Bomski
  • 209
  • 1
  • 2
  • 9
2
votes
1 answer

Hide the tab arrow in BBEdit

So I'm trying to make the switch from Textmate to BBEdit and I've gotten past most differences except for one...the little arrows BBEdit puts in to show tab. For each time I hit tab a little arrow is displayed on the screen. Is it possible to turn…
Jason
  • 13,945
  • 23
  • 82
  • 113
2
votes
0 answers

How do I troubleshoot bbdiff not being used as my git difftool (on macOS)?

After reading through Configuring diff tool with .gitconfig, I setup my ~/.gitconfig to contain the following: [diff] tool = bbdiff [difftool "bbdiff"] cmd = /usr/local/bin/bbdiff --wait --resume "$LOCAL" "$REMOTE" But when I run git…
Daryl Spitzer
  • 121,723
  • 75
  • 151
  • 166
2
votes
1 answer

How to manipulate text via command-line utilities: grep, cut, awk, sed or BBEdit (Grep Find Option)

I'm struggling with a srt file. I've got a very very long subtitle file and I'd like to automatically get caption text just on a single line instead of two (or worst) three different lines like in the original file. I tried many solution decide to…
PULASTER
  • 21
  • 2
2
votes
1 answer

bbedit - how to change multiple strings to title case?

In bbedit there is a feature where you select the text, choose text->change case->make title case from the menu and it will act accordingly. Is there a way to select multiple strings of text across files in your project then apply the same text…
user1689274
  • 351
  • 1
  • 4
  • 13
2
votes
2 answers

encoding errors running python from within bbedit

Here's a question that's puzzled me for a long time. I use bbedit to edit python code. Running the code from within the editor, as I understand it, spawns its own python process, runs the code, and writes the output to a log file. So bbedit doesn't…
jjon
  • 628
  • 1
  • 6
  • 21
2
votes
2 answers

How do I add text to a new BBEdit document at creation?

I open a lot of new documents in Textwrangler/BBedit and I would like them to always have the date printed at the top. I would like this to be automatic so that I don't have to remember to run a script each time. I'm new to BBEdit but I really like…
CGanote
  • 93
  • 6
2
votes
1 answer

BBEdit Grep/Regex find and replace part after dash

What should the regular expression look like when I want to find and remove the part that begins with a dash (-) and everything after in the Article number column? I'm using BBEdit to search and replace the strings in a tab delimited CSV-file…
petsk
  • 364
  • 5
  • 14
2
votes
1 answer

How to use code completion in BBedit?

This is driving me nuts. I've just downloaded BBedit, which comes with 'text completion'. I've checked that it is turned on in Preferences. I'm writing a CSS file. I start to type in 'text-transformation' and as expected it suggests…
Markeee
  • 403
  • 5
  • 19
1
2
3
9 10