An easy-to-use, feature-rich Visual Studio Code Dev Container
with a ready-to-use thesis style template for typesetting in LaTeX.
A Dev Container is a way to create a consistent and isolated development environment that runs inside a Docker container. This helps you avoid the hassle of installing and configuring the required tools and packages on your host machine.
- An extensive thesis styled LaTeX template free of errors and warnings
- Fully containerized: No setup or configuration on your host machine needed (except for docker)
- Works fully offline, after the initial setup
- Spelling and grammar checking via the automatically configured LTeX language server
- Major compilation time decrease: Custom LaTeX Workshop recipes that only compile the content you are currently working on and only update the bibliography references when explicitly requested
- Automatic import of
.tex
files from thecontent
andappendix
folder - Bibliography via BibLaTeX
- To-do notes, acronyms and many more features
- Ready to use git version control setup
- Online collaboration via the VS Code live-share extension
- Auxiliary files are hidden in a subfolder
- Linux, Windows and MacOS compatibility
In order to use the Dev Container, you need to run the following operations on your host machine:
This is the IDE that you will use to edit your LaTeX files and interact with the Dev Container. You can download it from the official source here
Install the Dev Containers
(ms-vscode-remote.remote-containers) VS Code extension
Download and extract this repository into a folder.
If you are on Windows, run the setWSLConfig.bat
file from the .devcontainer
folder:
It will add a .wslconfig
file to your user directory if one does not already exist.
This is the software that runs the Dev Container. Depending on your operating system, the installation process will vary:
You can find the official installation instructions for Linux here
You can download the official installer for Windows here
You can find the official installation instructions for MacOS here
Open the downloaded VSCTeX folder in VS Code. Confirm the "Yes, I trust the authors" option.
VS Code will detect the .devcontainer
folder in the project and prompt you to reopen the folder in a container. Confirm the Reopen in Container action. Alternatively, you can use the command palette (Keyboard shortcut: Ctrl+Shift+P) and select Dev Containers: Reopen in Container.
Wait for the Dev Container to build and configure. Starting the Dev Container for the first time (building the container) will take some time depending on your internet connection and computer. It may take a few minutes or longer. Starting the container after this first build process will only take a few seconds.
After the container has fully started, you can now edit your LaTeX files and use the features of VSCTeX!
Be sure to continue reading the template guide to avoid confusion due to a lack of knowledge about the behavior of this setup.
You find VSCTeX useful? Give the repo a star ⭐️