Using BBEdit and (your language)
First, make sure to use the search functionality of this wiki: there could be other tips for your language in other places.
Secondly, take a look at the Packages page to see if there’s a comprehensive collection of scripts/clippings/languages modules for your language/framework. You can also check out the Clippings page, or the Codeless_Language_Modules page – there could be more support for your language than you realize!
Contents
General Problems
Does BBEdit guess the wrong language for your file? Fix it with a modeline setting
Does BBEdit strip whitespace and your language/markup syntax not like that? Use a custom language setting
Keep your function definitions up to date automatically with guard
Grep
BBEdit uses Perl Compatible Regular Expressions.
Inform 7
Javascript/JSON
- JSON validation in BBEdit
- JS Lint Script
- JS beautifier / another JS beautifier
- HTML BBEdit Package also includes some Javascript tools
- Find and Mark All pattern for Node.js/express work
Node.js
LaTeX
- Tips on using LaTeX with BBEdit, and LaTeX with the Unix Worksheet
- More on LaTeX, BBEdit and the Unix Worksheet
Lisps
newLISP
newLISP is a language targeted at using a Lisp, with some modifications that make it better suited for scripting level tasks.
- newLISP language module. How this is constructed: Building a codeless language module with BBEdit 8.5
- Creating a Text Filter in newLISP
Nu
Nu is a Lisp built on top of Objective-C, and thus has access to the entire Cocoa API
Scheme
BBEdit Codeless language module for Scheme
Markdown
- Screencast: A little bit of Markdown
- Screencast: BBEdit Markdown Screencast: Headers, Lists and Tables
Matlab
Objective-C
- Ctags, Cocoa and BBEdit: A blog entry describing how to get code completion for Cocoa APIs in BBEdit
PHP
Python
- PyFlakes results in the BBEdit search window!
- Use BBEdit to display the curent line, when stepping through code with pdb
- Using Emacs Local Variables (aka modeline) to force Consistant Whitespace
- Python syntax checking using Flake8 (PEP8 + PyFlake)
R
Ruby
Textile
- Text Filter: Textile -> HTML
- BBEdit’s Preview window renders Textile too!