NetSys / bess

BESS: Berkeley Extensible Software Switch
Other
311 stars 174 forks source link

Editor support for .bess files #1008

Open nemethf opened 4 years ago

nemethf commented 4 years ago

If someone wants to write a bess script, then reading the "Built In Modules and Ports" wiki page is not always helpful. First, the wiki page is sometimes outdated (I maintain an up-to-date version). More importantly, some module methods are never documented there. For example, the recent addition of the delete method of BPF won't show up in the wiki page as it uses the already existing bess::pb::BPFArg. Additionally, I think sometimes the best sources of information is the samples directory or even the .cc sources.

I've created an extension to the python-language-server called pyls-bess that addresses some of these issues. Hopefully, others will find it useful. I welcome any feedback on the project's page.