Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ This repository contains code under multiple open source licenses:

| Component | License |
|-----------|---------|
| [VS Code Extension](apps/vscode/package.json) | AGPL-3.0 |
| [Language Server](apps/lsp/package.json) | AGPL-3.0 |
| [Visual Editor](packages/editor/package.json) | AGPL-3.0 |
| [Panmirror](apps/panmirror/package.json) (RStudio integration) | AGPL-3.0 |
| [VS Code Extension](apps/vscode/package.json) | MIT |
| [Language Server](apps/lsp/package.json) | MIT |
| [Visual Editor](packages/editor/package.json) | MIT |
| [Panmirror](apps/panmirror/package.json) (RStudio integration) | MIT |
| @quarto/* npm packages | MIT (e.g. [mapped-string](packages/mapped-string/package.json)) |
| OJS Runtime | ISC (e.g. [quarto-ojs-runtime](packages/ojs/quarto-ojs-runtime/package.json)) |

Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/build.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
/*
* build.ts
*
* Copyright (C) 2022 by Posit Software, PBC
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
* Copyright (C) 2022-2026 by Posit Software, PBC
*/


Expand Down
2 changes: 1 addition & 1 deletion apps/lsp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "quarto-lsp",
"version": "0.0.0",
"private": true,
"license": "agpl-3.0",
"license": "MIT",
"scripts": {
"build": "tsx build.ts",
"dev": "yarn run build dev",
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
/*
* configuration.ts
*
* Copyright (C) 2023 by Posit Software, PBC
* Copyright (C) 2023-2026 by Posit Software, PBC
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
*/

import { Connection, DidChangeConfigurationNotification, Emitter } from 'vscode-languageserver';
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/custom.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
/*
* index.ts
*
* Copyright (C) 2022 by Posit Software, PBC
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
* Copyright (C) 2022-2026 by Posit Software, PBC
*/
import path from "path";

Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/diagnostics.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
/*
* diagnostics.ts
*
* Copyright (C) 2022 by Posit Software, PBC
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
* Copyright (C) 2022-2026 by Posit Software, PBC
*/

import {
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
/*
* index.ts
*
* Copyright (C) 2022 by Posit Software, PBC
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
* Copyright (C) 2022-2026 by Posit Software, PBC
*/

import path from "path";
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/logging.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
/*
* logging.ts
*
* Copyright (C) 2023 by Posit Software, PBC
* Copyright (C) 2023-2026 by Posit Software, PBC
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
*/

// based on:
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/middleware.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
/*
* middleware.ts
*
* Copyright (C) 2023-2025 by Posit Software, PBC
* Copyright (C) 2023-2026 by Posit Software, PBC
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
*/

import { Connection, ServerCapabilities } from "vscode-languageserver";
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/quarto.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
/*
* quarto.ts
*
* Copyright (C) 2022 by Posit Software, PBC
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
* Copyright (C) 2022-2026 by Posit Software, PBC
*/

import * as path from "node:path";
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/r-utils.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
/*
* r-utils.ts
*
* Copyright (C) 2025 by Posit Software, PBC
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
* Copyright (C) 2025-2026 by Posit Software, PBC
*/

import { isRPackage as isRPackageImpl } from "quarto-utils";
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/service/config.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
/*
* config.ts
*
* Copyright (C) 2023 by Posit Software, PBC
* Copyright (C) 2023-2026 by Posit Software, PBC
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
*/

import * as picomatch from 'picomatch';
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/service/index.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
/*
* index.ts
*
* Copyright (C) 2023 by Posit Software, PBC
* Copyright (C) 2023-2026 by Posit Software, PBC
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
*/

import type { CancellationToken, CompletionContext, TextDocuments } from 'vscode-languageserver';
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/service/logging.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
/*
* logging.ts
*
* Copyright (C) 2023 by Posit Software, PBC
* Copyright (C) 2023-2026 by Posit Software, PBC
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
*/

/**
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/service/providers/completion/completion-attrs.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
/*
* completion-attrs.ts
*
* Copyright (C) 2022 by Posit Software, PBC
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
* Copyright (C) 2022-2026 by Posit Software, PBC
*/

import { AttrContext, AttrToken, EditorContext } from "../../quarto";
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/service/providers/completion/completion-latex.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
/*
* completion-latex.ts
*
* Copyright (C) 2022 by Posit Software, PBC
* Copyright (C) 2022-2026 by Posit Software, PBC
* Copyright (c) 2016 James Yu
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
*/

// based on https://github.com/James-Yu/LaTeX-Workshop/blob/master/src/providers/completion.ts
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/service/providers/completion/completion-path.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
/*
* path-completions.ts
*
* Copyright (C) 2023 by Posit Software, PBC
* Copyright (C) 2023-2026 by Posit Software, PBC
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
*/

import * as l10n from '@vscode/l10n';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
/*
* completion-shortcode.ts
*
* Copyright (C) 2023 by Posit Software, PBC
* Copyright (C) 2023-2026 by Posit Software, PBC
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
*/

import fs from 'fs';
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/service/providers/completion/completion-yaml.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
/*
* completion-yaml.ts
*
* Copyright (C) 2022 by Posit Software, PBC
* Copyright (C) 2022-2026 by Posit Software, PBC
* Copyright (c) 2016 James Yu
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
*/

import { lines } from "core";
Expand Down
11 changes: 1 addition & 10 deletions apps/lsp/src/service/providers/completion/completion.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
/*
* completion.ts
*
* Copyright (C) 2022 by Posit Software, PBC
* Copyright (C) 2022-2026 by Posit Software, PBC
* Copyright (c) 2016 James Yu
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
*/

import { Position } from "vscode-languageserver-textdocument";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
/*
* completion-biblio.ts
*
* Copyright (C) 2022 by Posit Software, PBC
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
* Copyright (C) 2022-2026 by Posit Software, PBC
*/

import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
/*
* completion-crossref.ts
*
* Copyright (C) 2022 by Posit Software, PBC
*
* Unless you have received this program directly from Posit Software pursuant
* to the terms of a commercial license agreement with Posit Software, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
* Copyright (C) 2022-2026 by Posit Software, PBC
*/


Expand Down
Loading
Loading