CODE-WORKSPACE File
What are CODE-WORKSPACE files and how to open them
Are you having problems opening a CODE-WORKSPACE file or are you simply curious about its contents? We're here to explain the properties of these files and provide you with software that can open or handle your CODE-WORKSPACE files.
What is a CODE-WORKSPACE file?
A .CODE-WORKSPACE file is a TwinBASIC Code Workspace file.
TwinBASIC Code Workspace files are JSON-formatted "workspace" configuration files used when developing twinBASIC projects inside Visual Studio Code. They bundle settings, folder paths, build configurations and editor preferences so that you can reopen a project with the same structure, active project folder(s), and twinBASIC-specific IDE options already applied. The workspace file typically coexists with the project file (.twinproj), which holds the project's source code, resources, and build settings.
This format is created by users or tooling when using twinBASIC with Visual Studio Code. It is read by VS Code (with twinBASIC support) to restore the workspace state: which folders are open, how twinBASIC's build configurations are selected, various editor customizations (like language preferences, syntax coloring, whitespace trimming, etc.), and twinBASIC project settings such as compiler targets, conditional compilation directives and debugging options. It does not itself compile or run code - it merely captures user and IDE settings so that work can be resumed consistently.
Internally a TwinBASIC Code Workspace file begins with a { character, followed by JSON fields including a "folders" array and twinBASIC-prefixed settings (for example build configuration names, toggles of twinBASIC features, editor customizations). One signature is the header string {…"folders":[…{…"name":"BUILDCONFIGURATIONS",…"uri":"twinbasic-builds:/___BUILDS" at offset 0, and many twinBASIC-related setting names appear in the file contents (such as TWINBASIC.HASSETDEBUGCONSOLEHISTORYSUGGESTIONSOFF, etc.).
How to open CODE-WORKSPACE files
We have identified one CODE-WORKSPACE opener that is compatible with this specific type of CODE-WORKSPACE file.
Programs that open TwinBASIC Code Workspace files
| Microsoft Visual Studio | Verified |
Last updated: August 5, 2026
Various apps that use files with this extension
These apps are known to open certain types of CODE-WORKSPACE files. Remember, different programs may use CODE-WORKSPACE files for different purposes, so you may need to try out a few of them to be able to open your specific file.
| Cursor | User submitted | |
| Antigravity | User submitted | |
| Windsurf | User submitted | |
| Trae | User submitted | |
| Antigravity IDE | User submitted |
Help us help others
File.org helps thousands of users every day, and we would love to hear from you if you have additional information about CODE-WORKSPACE file formats, example files, or compatible programs. Please use the links below or email us at submit@file.org to discuss further.
Not sure exactly what type of file you are trying to open? Try our new File Analyzer. It is a free tool that can identify more than 11,000 different kinds of files - most likely yours too! It will help you find software that can handle your specific type of file. Download File Analyzer here.