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/DB625E8F-08A5-471A-BC70-0171AB7EAA4F%40barebones.com.
