From a651adea9383f10f7f63293413ac251f430503d3 Mon Sep 17 00:00:00 2001 From: Lars Reimann Date: Sat, 9 Nov 2024 12:11:03 +0100 Subject: [PATCH] feat: disable inlay hints for assignee types by default (#1260) ### Summary of Changes Disable inlay hints for assignee types by default. These were confusing for novices, who tried to type them out when they created their first assignments, given an example. --- docs/getting-started/installation.md | 12 ++++++------ packages/safe-ds-vscode/README.md | 16 ++++++++-------- packages/safe-ds-vscode/package.json | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 4543be0f8..e98a71722 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -7,15 +7,15 @@ To set up a powerful _integrated development environment_ (_IDE_) for Safe-DS, f To run Safe-DS programs, you also need the [Safe-DS Runner](https://github.com/Safe-DS/Runner): -1. **Install [Python](https://www.python.org/) (3.11 or 3.12)**. Make sure to add Python to your - system's `PATH` during installation. Verify installation by running `python --version` in a - command line. You should get output similar to `Python 3.12.2`. +1. **Install [Python](https://www.python.org/) (3.11 or 3.12)**. Make sure to add Python to your system's `PATH` during + installation. Verify installation by running `python --version` in a command line. You should get output similar to + `Python 3.12.2`. 2. **Open VS Code**. 3. **Open the command palette** (Menu bar > View > Command Palette). -4. **Type `Install the Safe-DS Runner`**. +4. **Type `Install the Safe-DS Runner`** and **Press ++enter++**. 5. **Select where to install the Safe-DS Runner**. -6. **Press ++enter++**. Installation may take a few minutes, since it downloads and installs several large libraries - like PyTorch. + +Installation may take a few minutes, since it downloads and installs several large libraries like PyTorch. ## Updating the Safe-DS Extension diff --git a/packages/safe-ds-vscode/README.md b/packages/safe-ds-vscode/README.md index 7ba9f8fe9..e58445d75 100644 --- a/packages/safe-ds-vscode/README.md +++ b/packages/safe-ds-vscode/README.md @@ -1,7 +1,7 @@ # Safe-DS -Safely develop Data Science programs with a statically checked domain specific language (DSL) and integrated tools for data -inspection. +Safely develop Data Science programs with a statically checked domain specific language (DSL) and integrated tools for +data inspection. ![demo](https://github.com/Safe-DS/DSL/raw/main/docs/img/home/demo.gif) @@ -14,15 +14,15 @@ To set up a powerful _integrated development environment_ (_IDE_) for Safe-DS, f To run Safe-DS programs, you also need the [Safe-DS Runner](https://github.com/Safe-DS/Runner): -1. **Install [Python](https://www.python.org/) (3.11 or 3.12)**. Make sure to add Python to your - system's `PATH` during installation. Verify installation by running `python --version` in a - command line. You should get output similar to `Python 3.12.2`. +1. **Install [Python](https://www.python.org/) (3.11 or 3.12)**. Make sure to add Python to your system's `PATH` during + installation. Verify installation by running `python --version` in a command line. You should get output similar to + `Python 3.12.2`. 2. **Open VS Code**. 3. **Open the command palette** (Menu bar > View > Command Palette). -4. **Type `Install the Safe-DS Runner`**. +4. **Type `Install the Safe-DS Runner`** and **Press Enter**. 5. **Select where to install the Safe-DS Runner**. -6. **Press Enter**. Installation may take a few minutes, since it downloads and installs several large libraries - like PyTorch. + +Installation may take a few minutes, since it downloads and installs several large libraries like PyTorch. ## Documentation diff --git a/packages/safe-ds-vscode/package.json b/packages/safe-ds-vscode/package.json index 7f146549c..65159958e 100644 --- a/packages/safe-ds-vscode/package.json +++ b/packages/safe-ds-vscode/package.json @@ -136,7 +136,7 @@ "properties": { "safe-ds.inlayHints.assigneeTypes.enabled": { "type": "boolean", - "default": true, + "default": false, "description": "Show inferred types for named assignees." }, "safe-ds.inlayHints.lambdaParameterTypes.enabled": {