stratboy definitive tutorial on completion and language modules?
Apr 28, 2010; 02:36
definitive tutorial on completion and language modules?
Hi! I see these notes about 9.5:
- Compiled language modules may specify a new plist key: BBLMCompletionTagsFileNames. This is an array of strings, each one corresponding to the name of a file in the language module's Resources directory. Each file (if present) is expected to be a valid tags file, and is used when generating completions.
- There's a new placeholder format: <#* ... #>. This is used for optional arguments generated during completion. It can be selected in the usual fashion; and if you delete a selected optional-argument placeholder with the Backspace key, BBEdit will delete any leading whitespace, back to a preceding comma (if there is one).
- BBEdit now uses the ctags files in ~/Library/Application Support/ BBEdit/Completion Data/ for more than just completion: "Find Definition" (and the contextual menu) will now include definitions specified on those tags files (which is handy if you've built a tags file from a Mac OS X or iPhone SDK); and symbols defined in the central tags files will also appear in an appropriate color.
- Completion data dictionaries generated by language modules can now contain an additional key: AutoIndentCompletionText. It's optional, but if present signals the completion system that the completion text, if multi-line, should be auto-indented according to where the completion is inserted.
- BBEdit can now generate completions for include file names in C/C++/ ObjC/ObjC++ source files. (This applies when typing in an #include or #import directive.) The data is sourced from the active Xcode project, system headers and frameworks, and the directory containing the source file in which you're completing.
So, to me it's not so clear. Maybe would be great to see a definitive tutorial about all this completion an language-related stuff, along with the previews versions enhancements. :)
-- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to email@example.com To unsubscribe from this group, send email to firstname.lastname@example.org For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "email@example.com" rather than posting to the group.
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!