/IDE-Block

GitHub Block providing IDE-like features to help you read code.

Primary LanguageTypeScriptMIT LicenseMIT

IDE Block

name

There's more to our code than just text - almost every single word in source file have some additional meaning. It can be function name, call to the API, language keyword and more.

When we are working with code in our editors we have a lot of features that allow us to understand this additional context - tooltips showing documentation when you put your mouse over some symbol, highlighting showing which tokens are the same symbol, and more. However, when we are reading code on GitHub, we don't have these features.

IDE-Block is a tool that allows you to add these features to your code on GitHub while using GitHub Blocks. The source of information for the block is LSIF file - a standard format for storing code intelligence data. You can generate LSIF file for your project using GitHub Actions and then store it as an Action Artifact. IDE-Block will then use this file to provide additional context to your code.

Screen.Recording.2022-11-11.at.16.26.22.mov

Example setup (GH Action defintions can be found in .github/workflows directory):

How to contribute

Imposter syndrome disclaimer: I want your help. No really, I do.

There might be a little voice inside that tells you you're not ready; that you need to do one more tutorial, or learn another framework, or write a few more blog posts before you can help me with this project.

I assure you, that's not the case.

This project has some clear Contribution Guidelines and expectations that you can read here.

The contribution guidelines outline the process that you'll need to follow to get a patch merged. By making expectations and process explicit, I hope it will make it easier for you to contribute.

And you don't just have to write code. You can help out by writing documentation, tests, or even by giving feedback about this work. (And yes, that includes giving feedback about the contribution guidelines.)

Thank you for contributing!

Contributing and copyright

The project is hosted on GitHub where you can report issues, participate in discussions, fork the project and submit pull requests.

The library is available under MIT license, which allows modification and redistribution for both commercial and non-commercial purposes.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.