Expand All
Welcome to Nova!
Projects
Editor
Terminals
Previews
Git
Tasks
Debugging
Remote Files
Extensions
Appendix: Settings
FAQs
Support

Issues and Warnings

Find and fix problems in your code.
Issues and warnings displayed in Nova.
Issues and warnings displayed in Nova.

Nova’s Editor can display issues and warnings in your code, alerting you to syntax errors, missing or invalid arguments, and other types of problems. You can also find these errors in the Issues Sidebar icon Issues Sidebar, which provides an at-a-glance listing of all errors identified in your project.

Requirements

Out of the box, Nova can validate PHP files and report issues in Local Projects if PHP is installed on your Mac. You can configure PHP validation in Project Settings. Otherwise, you must install Extensions to validate or lint your files.

Depending on the extension, validation may be performed either as you type or on save. Some extensions may validate all the files in your project, or only files currently opened for editing. Refer to the documentation provided by the extension’s author to confirm what type of validation the extension supports.

Panic provides first-party HTML Validator and CSS Validator extensions for Nova, which integrate with the W3C’s online validation service (w3.org) for these syntaxes.

NOTE: Panic cannot provide support for issues specific to third-party extensions.

Viewing Issues

As Nova and your extensions validate your documents, issues and warnings found in your code will be highlighted in Nova’s Editor. Icons will also appear in the gutter for affected lines.

Issue icon Issues are typically problems that will prevent your code from running or compiling, and will be highlighted in red.

Warning icon Warnings are problems that may not necessarily prevent your code from running, but may not be fully supported or can have unexpected behavior in some cases. These are highlighted in yellow.

Issues and warnings shown in the editor gutter.

Issues Sidebar

The Issues Sidebar icon Issues Sidebar lists all issues and warnings identified in your project, listed under each affected file. Click an issue to jump to the file and line where the issue was identified.

The Issues Sidebar does not appear in the Sidebar Dock by default, but can be added from All Sidebars icon All Sidebars, or accessed from the View menu > Sidebars > Show Issues Sidebar.

The Issues Sidebar.