Department
Princeton University

Computer Science 510
Programming Languages
Andrew Appel

Spring 2023

General Information       Schedule       Policies

Using VSCoq

Installation and Keyboard Shortcuts

You can find info about VSCoq here, and you can install it from the VSCode marketplace. The most important keyboard shortcuts are the "step forward" and "step backward" commands. The defaults for each OS are given at the above link, but you can configure these yourself using File->Preferences->Keyboard Shortcuts. Scroll down until you see "Coq: Step Backward" and "Coq: Step Forward". As the Coq installation notes suggest, we recommend changing these to control+down and control+up, respectively.

Working with Multiple Files

Starting from Homework 1, each successive Coq file will involve definitions and theorems from previous ones. In order for VSCoq to correctly find these files, you will want to do the following: You can also find more information about Coq compilation at the beginning of Induction.v.