I browsed through the (terse ;-) compiled plug-in examples for Python, Setext and TeX.
While trying to find some (any!) kind of clue, I searched for "keywords" in Rich's entire LanguageModuleSDK and I noticed that Examples/PythonMachO/Info.plist is the only file that has "<key>Keywords</key>" with some of the usual suspects for Python. No other file has "<key>Keywords</key>". Any idea how to specify a language's keywords? (I probably need stronger reading glasses and the answer is probably staring at me, but I fail to see it.) Even better: Any suggestions for finding some (any!) example of a compiled plug-in example for a C-family language such as JavaScript (which supports the all-important "// NOTE:" feature) ? Thanks, Alfredo On Saturday, June 22, 2024 at 1:19:37 PM UTC-6 Rich Siegel wrote: > On 22 Jun 2024, at 15:11, Alfredo wrote: > > > Hmmm. . . > > > > The next (obvious) question then becomes: > > > > Which language modules support the inclusion of "commented notes" (or > > whatever the proper technical name happens to be) in BBEdit's Function > > Navigator? > > > > Is that even possible for mere mortals? > > Callout generation is handled during function scanning; it depends on the > implementation but most of BBEdit's built-in languages support them. > > > Any hints on how to start exploring that topic? > > <https://github.com/siegel/LanguageModuleSDK>. > > R. > > > Thanks. > > > > Alfredo > > > > On Thursday, June 20, 2024 at 7:18:08 PM UTC-6 Rich Siegel wrote: > > > >> On 20 Jun 2024, at 20:04, Alfredo wrote: > >> > >>> Nice, Rich. > >>> > >>> This works great. Now, of course, "one more thing". > >>> > >>> How can I nudge BBEdit to display these "NOTE:" pieces of info on the > >>> Function Navigator? > >>> > >>> ListTile( // NOTE: Report Log > >> > >> Codeless languages modules don't support this; sorry. > >> > >> R. > >> > >>> > >>> On Thursday, June 20, 2024 at 3:06:46 PM UTC-6 Rich Siegel wrote: > >>> > >>>> On 20 Jun 2024, at 13:41, Alfredo wrote: > >>>> > >>>>> That language server is a bit above my pay scale. > >>>>> > >>>>> Does anyone have a clue regarding how to extract (from the Dart > >> language > >>>>> server that Ulrich mentioned) the relevant info for a BBEdit Codeless > >>>>> Language Module? > >>>> > >>>> This seems to old some clues: < > >>>> > >> > https://github.com/dart-lang/sdk/blob/master/pkg/analysis_server/tool/lsp_spec/README.md > >>>>> > >>>> > >>>> Thus, a suitable key in the language module might look like: > >>>> > >>>> <key>BBLMLanguageServerInfo</key> > >>>> <dict> > >>>> <key>ServerCommand</key> > >>>> <string>dart</string> > >>>> > >>>> <key>ServerArguments</key> > >>>> <array> > >>>> <string>language-server</string> > >>>> <string>--client-id com.barebones.bbedit</string> > >>>> <string>--client-version 15</string> > >>>> </array> > >>>> </dict> > >>>> > >>>> (You should test and verify, of course.) > >>>> > >>>> R. > >>>> > >>>>> Thanks, > >>>>> > >>>>> Alfredo > >>>>> > >>>>> On Wednesday, June 19, 2024 at 6:31:42 AM UTC-6 Ulrich Kapp wrote: > >>>>> > >>>>>> Hi Alfredo, > >>>>>> > >>>>>> I just entered this discussion and have the following question: > >>>>>> > >>>>>> Did you already try to use the Dart language server ( > >>>>>> https://github.com/serverpod/lsp_server) with BBEdit? > >>>>>> Maybe this will help your needs. > >>>>>> > >>>>>> Ulrich > >>>>>> > >>>>>> Alfredo schrieb am Donnerstag, 13. Juni 2024 um 21:41:55 UTC+2: > >>>>>> > >>>>>>> I do about 50% of my work under the Flutter umbrella. There are two > >>>>>>> "official" IDEs for Flutter: VS Code and Android Studio. I prefer > >>>> Android > >>>>>>> Studio for compiling/linking/installing on all platforms (Android, > >> iOS, > >>>>>>> macOS, Windows, Linux, Web/PWA). > >>>>>>> > >>>>>>> However (and this is a big "however") I use BBEdit for all of my > >>>> editing > >>>>>>> and I have configured both Android Studio and BBEdit to refresh > file > >>>>>>> contents upon detecting any change. Perfect world (for me). > >>>>>>> > >>>>>>> Flutter supports hot reload and hot restart, so it's really > >> impressive > >>>> to > >>>>>>> see that when I save a changed source file with BBEdit, I can > >>>> immediately > >>>>>>> do a hot reload or hot restart with Android Studio and I can > >>>> immediately > >>>>>>> see the results of my changes on whatever platform I happen to be > >>>>>>> debugging. > >>>>>>> > >>>>>>> Magic. > >>>>>>> > >>>>>>> I wish there were a language module for Dart (the language that > >> Flutter > >>>>>>> uses) that I could use with BBEdit. > >>>>>>> > >>>>>>> For now, I switch the language mapping for a given source file > >> between > >>>>>>> Java and JavaScript, to highlight different structural aspects in > the > >>>>>>> source file and to navigate to different things using the Function > >>>>>>> Navigator. This is reasonably ok but not ideal. > >>>>>>> > >>>>>>> Has anyone found a way to use a Dart Language module with BBEdit? > >>>>>>> > >>>>>>> Thanks. > >>>>>>> > >>>>>>> Alfredo > >>>>>>> > >>>>>> > >>>>> > >>>>> -- > >>>>> This is the BBEdit Talk public discussion group. If you have a > feature > >>>> request or believe that the application isn't working correctly, > please > >>>> email "[email protected]" rather than posting here. Follow @bbedit > >> on > >>>> Mastodon: <https://mastodon.social/@bbedit> > >>>>> --- > >>>>> You received this message because you are subscribed to the Google > >>>> Groups "BBEdit Talk" group. > >>>>> To unsubscribe from this group and stop receiving emails from it, > send > >>>> an email to [email protected]. > >>>>> To view this discussion on the web visit > >>>> > >> > https://groups.google.com/d/msgid/bbedit/345977dc-66d9-4f14-978c-8b49e10785e4n%40googlegroups.com > >>>> . > >>>> > >>>> > >>>> -- > >>>> Rich Siegel Bare Bones Software, Inc. > >>>> <[email protected]> <https://www.barebones.com/> > >>>> > >>>> Someday I'll look back on all this and laugh... until they sedate me. > >>>> > >>> > >>> -- > >>> This is the BBEdit Talk public discussion group. If you have a feature > >> request or believe that the application isn't working correctly, please > >> email "[email protected]" rather than posting here. Follow @bbedit > on > >> Mastodon: <https://mastodon.social/@bbedit> > >>> --- > >>> You received this message because you are subscribed to the Google > >> Groups "BBEdit Talk" group. > >>> To unsubscribe from this group and stop receiving emails from it, send > >> an email to [email protected]. > >>> To view this discussion on the web visit > >> > https://groups.google.com/d/msgid/bbedit/3e937a7b-1458-4598-b495-43fef43f7a74n%40googlegroups.com > >> . > >> > >> > >> -- > >> Rich Siegel Bare Bones Software, Inc. > >> <[email protected]> <https://www.barebones.com/> > >> > >> Someday I'll look back on all this and laugh... until they sedate me. > >> > > > > -- > > This is the BBEdit Talk public discussion group. If you have a feature > request or believe that the application isn't working correctly, please > email "[email protected]" rather than posting here. Follow @bbedit on > Mastodon: <https://mastodon.social/@bbedit> > > --- > > You received this message because you are subscribed to the Google > Groups "BBEdit Talk" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/bbedit/0fd5adf9-969d-41db-b9b7-4b82be2824e5n%40googlegroups.com > . > > > -- > Rich Siegel Bare Bones Software, Inc. > <[email protected]> <https://www.barebones.com/> > > Someday I'll look back on all this and laugh... until they sedate me. > -- This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "[email protected]" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/1ad9bacb-d52c-4a06-884e-737cc901950en%40googlegroups.com.
