This does not recognize struct methods. Can you improve it? Example: func (p *MyClass) DoSomething(p string, i int) { ... }
On Wednesday, November 11, 2009 at 9:54:23 PM UTC-6, ajstarks wrote: > > Here is the Codeless language Module used by BBEdit and TextWrangler > that will provide syntax coloring and function navigation. Go > language experts will surely extend from the basics supported here. > > Install as Go.plist in: > > ~/Library/Application Support/TextWrangler/Language Modules > > or > > ~/Library/Application Support/BBEdit/Language Modules > > ----- cut here ---- > > { > BBEditDocumentType = "CodelessLanguageModule"; > BBLMColorsSyntax = YES; > BBLMIsCaseSensitive = YES; > BBLMKeywordList = ( > break, > case, > chan, > const, > continue, > default, > defer, > else, > fallthrough, > for, > func, > go, > goto, > if, > import, > interface, > map, > package, > range, > return, > select, > struct, > switch, > type, > var, > ); > BBLMLanguageCode = go; > "BBLMLanguageDisplayName" = "Go"; > BBLMScansFunctions = YES; > BBLMSuffixMap = ( > { > BBLMLanguageSuffix = ".go"; > }, > ); > "Language Features" = { > "Close Block Comments" = "*/"; > "Close Parameter Lists" = ")"; > "Close Statement Blocks" = "}"; > "Close Strings 1" = "`"; > "Close Strings 2" = "\""; > "End-of-line Ends Strings 1" = YES; > "End-of-line Ends Strings 2" = YES; > "Escape Char in Strings 1" = "\\"; > "Escape Char in Strings 2" = "\\"; > "Identifier and Keyword Characters" = > "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz"; > "Open Block Comments" = "/*"; > "Open Line Comments" = "//"; > "Open Parameter Lists" = "("; > "Open Statement Blocks" = "{"; > "Open Strings 1" = "`"; > "Open Strings 2" = "\""; > "Prefix for Functions" = "func"; > "Prefix for Procedures" = func; > "Terminator for Prototypes 1" = ";"; > "Terminator for Prototypes 2" = ""; > }; > } > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.