code-server runs Visual Studio Code in a web browser and allows remote
development through a web-based interface.
The service provides access to a full VS Code environment from any modern
browser without requiring a local VS Code installation.
===> The following configuration options are available for code-server-4.143.1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
code-server has been installed.
Enable the service:
sysrc code_server_enable=YES
Start the service:
service code-server start
By default, code-server listens on:
http://<server>:8080/
See:
${PREFIX}/share/doc/code-server/README.md
Some extensions bundle or download native Linux binaries (language
servers, debuggers) that do not run on FreeBSD. Install the native
tool from ports and point the extension at it, for example:
pkg install rust-analyzer
"rust-analyzer.server.path": "/usr/local/bin/rust-analyzer"
Known extensions and recipes:
https://github.com/joneum/FreeBSD-CodeServer/blob/main/EXTENSIONS.md
A copy of this document is installed in:
${PREFIX}/share/doc/code-server/EXTENSIONS.md
www/code-server: Update to 4.143.1
Compressed request bodies are now rejected instead of being
decompressed. Boolean flags can be set to false on the command line
and in the config file, and path options starting with a tilde are
expanded. A Turkish localization was added. The Markdown editor
supports renaming file links in place, and the editor raises its
highlight limit from 500 to 5000 diagnostics per file.
Changelog: https://github.com/coder/code-server/releases
Obtained from: editors/vscode
Sponsored by: Netzkommune GmbH
www/code-server: Update to 4.141.0
A new --enable-remote-storage flag stores workbench state on the
server instead of in the browser, so it can be shared between
devices. The TypeScript extension no longer fails to activate because
it was loaded as a browser extension. Pasting a copied block at a
single cursor distributes its rows across successive lines.
Changelog: https://github.com/coder/code-server/releases
Sponsored by: Netzkommune GmbH
www/code-server: Update to 4.140.0
The editor marks wrapped lines with word wrap indicators and avoids
inserting duplicate closing brackets. Values of 60 seconds or less for
--idle-timeout-seconds are now rejected in the space-separated form
too. code-server now runs on Node.js 24 instead of Node.js 22.
Changelog: https://github.com/coder/code-server/releases
Sponsored by: Netzkommune GmbH
www/code-server: Update to 4.138.0
The built-in port proxy now preserves the original path, query
parameters and fragment when rewriting localhost URLs.
Changelog: https://github.com/coder/code-server/releases
Sponsored by: Netzkommune GmbH
www/code-server: Update to 4.137.0
The diff editor gains a unified layout option that shows changes inline,
side by side, or selects the best fit automatically. Multi-file diffs
now show binary files with a placeholder instead of hiding them. Links
to GitHub issues and pull requests in the Markdown editor show their
title and current state. Extensions that rely on proposed VS Code APIs,
such as Python and Jupyter, now have those APIs enabled.
Changelog: https://github.com/coder/code-server/releases
Obtained from: editors/vscode
Sponsored by: Netzkommune GmbH
www/code-server: Update to 4.136.2
Word wrapping now accounts for injected text, decorations and inlay
hints. Terminal commands executed by extensions start without delay.
Adds an experimental compact layout density option. This release
replaces the withdrawn 4.136.0 and 4.136.1.
Changelog: https://github.com/coder/code-server/releases
Sponsored by: Netzkommune GmbH
www/code-server: Update EXTENSIONS.md
Add a section about switching the display language: language packs
must be installed through the Extensions view (the standalone CLI
does not register them), and the packs on Open VSX can lag behind
the bundled VS Code version.
Sponsored by: Netzkommune GmbH
www/code-server: Fix process listing
Split the ps(1) arguments the same way editors/vscode does; FreeBSD's
ps does not accept the combined column list, which broke the process
explorer and the process diagnostics.
Also document which extensions need a native language server on
FreeBSD and how to configure them, install the document as
EXTENSIONS.md and point to it from the install message.
Obtained from: editors/vscode (ps.ts patch)
Sponsored by: Netzkommune GmbH
www/code-server: Fix extension installation
VS Code's platform detection does not know FreeBSD and falls back to
"Web", so the extension service rejected every non-web extension with
"not available in code-server for the Web platform". Treat FreeBSD as
Linux in platform.ts, the same way editors/vscode does, so extensions
can be installed.
Obtained from: editors/vscode
Sponsored by: Netzkommune GmbH
www/code-server: Update to 4.135.0
Update to code-server 4.135.0, which bundles VS Code 1.135.0.
Changelog: https://github.com/coder/code-server/releases
Sponsored by: Netzkommune GmbH
www/code-server: Update to 4.134.0
Update to code-server 4.134.0, which bundles VS Code 1.134.0.
Changelog: https://github.com/coder/code-server/releases
Sponsored by: Netzkommune GmbH
www/code-server: Update to 4.133.0
Update to code-server 4.133.0, which bundles VS Code 1.133.0.
Changelog: https://github.com/coder/code-server/releases
Sponsored by: Netzkommune GmbH
www/code-server: Update to 4.132.0
Update to code-server 4.132.0, which bundles VS Code 1.132.0.
Changelog: https://github.com/coder/code-server/releases
Sponsored by: Netzkommune GmbH
www/code-server: Update to 4.131.0
Update to code-server 4.131.0, which bundles VS Code 1.131.0.
Changelog: https://github.com/coder/code-server/releases
Sponsored by: Netzkommune GmbH
www/code-server: Update to 4.129.0
Update to code-server 4.129.0, which bundles VS Code 1.129.0.
VS Code 1.129 changed how the built-in GitHub Copilot extension is
handled: it is now built from source during the reh-web build instead
of being fetched as a prebuilt VSIX. This requires a few build-time
workarounds:
- The copilot extension postinstall expects a platform package for the
host. A Copilot CLI SDK distfile is provided and placed as
@github/copilot-freebsd-x64 so the postinstall passes. GitHub Copilot
is closed-source and not usable on FreeBSD; this only lets the build
complete.
- The reh-web build calls ensureCopilotPlatformPackage(), which runs
(Only the first 15 lines of the commit message are shown above )
www/code-server: Add new port
code-server enables running Visual Studio Code on a remote system and
accessing it through a web browser. It provides a familiar development
environment without requiring a local VS Code installation.
WWW: https://github.com/coder/code-server
Sponsored by: Netzkommune GmbH