Sublime Streamlit is a Sublime Text package for Python's Streamlit library, providing completion, build system, and documentation.
The easiest way to install Sublime Streamlit is through Package Control. After it is enabled inside Sublime Text, open the command palette and find Package Control: Install Package and press ENTER. Then, find Streamlit in the list. Press ENTER again, and this package will be installed!
Sublime Streamlit provides completion for all Streamlit commands. The full list of completions can be found in the streamlit.sublime-completions file.
Sublime Streamlit adds a new build system, Streamlit, which uses streamlit run to run a Streamlit program.
Sublime Streamlit has two commands for exploring Streamlit docs.
In a program, select a Streamlit command (example: st.write) and run the Streamlit: Doc command in the command palette to open the command's Streamlit documentation page in the browser.
To search for the documentation of a Streamlit command, run the Streamlit: Search Doc command in the command palette. Select the desired command to open its documentation page in the browser.