Skip to content

Commit

Permalink
feat-fix: update urls for all references
Browse files Browse the repository at this point in the history
  • Loading branch information
EagleoutIce committed Aug 9, 2024
1 parent c073eb4 commit 231c764
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: startsWith(github.event.head_commit.message, '[release:minor]') ||
startsWith(github.event.head_commit.message, '[release:major]') ||
startsWith(github.event.head_commit.message, '[release:patch]')
uses: Code-Inspect/vscode-flowr/.github/workflows/test.yml@main
uses: flowr-analysis/vscode-flowr/.github/workflows/test.yml@main

release:
runs-on: ubuntu-latest
Expand All @@ -28,7 +28,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 21.6.x
registry-url: 'https://registry.npmjs.org/'
registry-url: "https://registry.npmjs.org/"
- name: Install vsce
run: npm install -g @vscode/vsce
- name: Install dependencies
Expand All @@ -47,7 +47,7 @@ jobs:
echo "::set-output name=release_tag::$new_version"
env:
# apparently, putting the message into an env variable first sanitizes it
# (see https://github.com/Code-Inspect/flowr/security/code-scanning/29)
# (see https://github.com/flowr-analysis/flowr/security/code-scanning/29)
MESSAGE: ${{ github.event.head_commit.message }}

- name: Package
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Version 0.3.0 (2024-05-11)
- Upgrade to [flowr v2.0.0](https://github.com/Code-Inspect/flowr/releases/tag/v2.0.0), see the [release notes](https://github.com/Code-Inspect/flowr/releases/tag/v2.0.0) for more information on the changes.
- Upgrade to [flowr v2.0.0](https://github.com/flowr-analysis/flowr/releases/tag/v2.0.0), see the [release notes](https://github.com/flowr-analysis/flowr/releases/tag/v2.0.0) for more information on the changes.

# Version 0.2.1 (2024-05-09)
- Documenting the new features in the README ([#83](https://github.com/Code-Inspect/vscode-flowr/pull/83)) and improving the command names.
- Documenting the new features in the README ([#83](https://github.com/flowr-analysis/vscode-flowr/pull/83)) and improving the command names.

# Version 0.2.0 (2024-05-07)
- Allow slicing for multiple cursors, automatic updates of the slice based on the selection, placement of markers and improved preview of reconstructed slice, all thanks to @ManuelHentschel in [#81](https://github.com/Code-Inspect/vscode-flowr/pull/81)!
- Allow slicing for multiple cursors, automatic updates of the slice based on the selection, placement of markers and improved preview of reconstructed slice, all thanks to @ManuelHentschel in [#81](https://github.com/flowr-analysis/vscode-flowr/pull/81)!

# Version 0.1.1 (2024-04-13)
- Fixed dataflow display not taking up its max width correctly
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# vscode-flowr

[![Marketplace](https://badgen.net/vs-marketplace/v/code-inspect.vscode-flowr)](https://marketplace.visualstudio.com/items?itemName=code-inspect.vscode-flowr)
[![Marketplace](https://badgen.net/vs-marketplace/v/flowr-analysis.vscode-flowr)](https://marketplace.visualstudio.com/items?itemName=flowr-analysis.vscode-flowr)

This is the *flowR* extension for Visual Studio Code which allows you to retrieve program slices directly within your IDE. For more information on *flowR* and its capabilities, please check out [the main repository](https://github.com/Code-Inspect/flowr).
This is the *flowR* extension for Visual Studio Code which allows you to retrieve program slices directly within your IDE. For more information on *flowR* and its capabilities, please check out [the main repository](https://github.com/flowr-analysis/flowr).

## Use

Expand All @@ -12,7 +12,7 @@ Although it is not required, we recommend using the [R extension](https://market

### Slicing

You can generate a [slice](https://github.com/Code-Inspect/flowr/wiki/Terminology#program-slice) of the currently highlighted variable in any R code by using the "Slice for Cursor Position" command. All code that is not part of the generated slice will then be grayed out.
You can generate a [slice](https://github.com/flowr-analysis/flowr/wiki/Terminology#program-slice) of the currently highlighted variable in any R code by using the "Slice for Cursor Position" command. All code that is not part of the generated slice will then be grayed out.

Optionally, you can also use one of the two "Toggle Continuous Slice" options, which will automatically cause the slice to be updated when code changes occur or when the cursor is moved.

Expand All @@ -38,13 +38,13 @@ You can get the extension here: <https://marketplace.visualstudio.com/items?item

### From GitHub Release

You can find official releases of the extension in the [Releases](https://github.com/Code-Inspect/vscode-flowr/releases) section of the repository. Simply select the version you would like to download, open up the asset's section at the bottom, and download the `vscode-flowr-[version].vsix` contained in it.
You can find official releases of the extension in the [Releases](https://github.com/flowr-analysis/vscode-flowr/releases) section of the repository. Simply select the version you would like to download, open up the asset's section at the bottom, and download the `vscode-flowr-[version].vsix` contained in it.

From Visual Studio Code, open the Extensions tab and click on the three dots in the top right to select "Install from VSIX..." Alternatively, you can use the Command Palette to select the option directly. Then, you can select the `vsix` file you downloaded to install it.

### From Build Artifact

You can easily download the most recent build of the extension by heading to the [Actions tab](https://github.com/Code-Inspect/vscode-flowr/actions/workflows/package.yml), where you will find a list of runs. Selecting the most recent run will display a summary of it, at the bottom of which you can find the Artifacts section and the `Extension vsix` artifact. Download it and unzip it.
You can easily download the most recent build of the extension by heading to the [Actions tab](https://github.com/flowr-analysis/vscode-flowr/actions/workflows/package.yml), where you will find a list of runs. Selecting the most recent run will display a summary of it, at the bottom of which you can find the Artifacts section and the `Extension vsix` artifact. Download it and unzip it.

Then, you can install it the same way as you would the `vsix` downloaded [from GitHub Releases](#from-github-release).

Expand All @@ -60,9 +60,9 @@ npm ci

Note that this does not install [R](https://www.r-project.org/), which is also not strictly required for development, but (obviously) highly encouraged.

Opening the cloned repository in Visual Studio Code allows using the [existing launch configurations](https://github.com/Code-Inspect/vscode-flowr/blob/main/.vscode/launch.json) which can launch Visual Studio Code with the extension enabled. To use them, open the Run and Debug view and press the Run button at the top, or use the <kbd>F5</kbd> shortcut to start debugging.
Opening the cloned repository in Visual Studio Code allows using the [existing launch configurations](https://github.com/flowr-analysis/vscode-flowr/blob/main/.vscode/launch.json) which can launch Visual Studio Code with the extension enabled. To use them, open the Run and Debug view and press the Run button at the top, or use the <kbd>F5</kbd> shortcut to start debugging.

You can then open the [example folder](https://github.com/Code-Inspect/vscode-flowr/tree/main/example) contained in this repository to try out the extension for yourself.
You can then open the [example folder](https://github.com/flowr-analysis/vscode-flowr/tree/main/example) contained in this repository to try out the extension for yourself.

To build the extension into a `vsix` file, see [this documentation article](https://code.visualstudio.com/api/working-with-extensions/publishing-extension).

Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"publisher": "code-inspect",
"displayName": "R Slicer (flowR)",
"description": "Slicing and analyzing R code courtesy of flowR",
"homepage": "https://github.com/Code-Inspect/vscode-flowr/blob/main/README.md",
"homepage": "https://github.com/flowr-analysis/vscode-flowr/blob/main/README.md",
"icon": "media/flowR.png",
"repository": {
"type": "git",
"url": "https://github.com/Code-Inspect/vscode-flowr"
"url": "https://github.com/flowr-analysis/vscode-flowr"
},
"bugs": {
"url": "https://github.com/Code-Inspect/vscode-flowr/issues",
"url": "https://github.com/flowr-analysis/vscode-flowr/issues",
"email": "florian.sihler@uni-ulm.de"
},
"license": "GPL-3.0",
Expand Down Expand Up @@ -106,17 +106,17 @@
"vscode-flowr.server.host": {
"type": "string",
"default": "localhost",
"markdownDescription": "The host to use when connecting to a [flowR server](https://github.com/Code-Inspect/flowr/wiki/Interface#-communicating-with-the-server)."
"markdownDescription": "The host to use when connecting to a [flowR server](https://github.com/flowr-analysis/flowr/wiki/Interface#-communicating-with-the-server)."
},
"vscode-flowr.server.port": {
"type": "number",
"default": 1042,
"markdownDescription": "The port to use when connecting to a [flowR server](https://github.com/Code-Inspect/flowr/wiki/Interface#-communicating-with-the-server)."
"markdownDescription": "The port to use when connecting to a [flowR server](https://github.com/flowr-analysis/flowr/wiki/Interface#-communicating-with-the-server)."
},
"vscode-flowr.server.autoConnect": {
"type": "boolean",
"default": false,
"markdownDescription": "Whether to auto-connect to a [flowR server](https://github.com/Code-Inspect/flowr/wiki/Interface#-communicating-with-the-server) when the extension is loaded."
"markdownDescription": "Whether to auto-connect to a [flowR server](https://github.com/flowr-analysis/flowr/wiki/Interface#-communicating-with-the-server) when the extension is loaded."
},
"vscode-flowr.r.executable": {
"type": "string",
Expand Down Expand Up @@ -230,4 +230,4 @@
"tsdoc/syntax": "off"
}
}
}
}
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export async function activate(context: vscode.ExtensionContext) {

context.subscriptions.push(
vscode.commands.registerCommand('vscode-flowr.report', () => {
void vscode.env.openExternal(vscode.Uri.parse('https://github.com/Code-Inspect/flowr/issues/new/choose'))
void vscode.env.openExternal(vscode.Uri.parse('https://github.com/flowr-analysis/flowr/issues/new/choose'))
})
)

Expand Down
2 changes: 1 addition & 1 deletion src/flowr/internal-session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class FlowrInternalSession implements FlowrSession {
void vscode.window.showErrorMessage('The R version could not be determined. R needs to be installed and part of your PATH environment variable.', seeDoc)
.then(s => {
if(s === seeDoc){
void vscode.env.openExternal(vscode.Uri.parse('https://github.com/Code-Inspect/vscode-flowr/blob/main/README.md#using'))
void vscode.env.openExternal(vscode.Uri.parse('https://github.com/flowr-analysis/vscode-flowr/blob/main/README.md#using'))
}
})

Expand Down

0 comments on commit 231c764

Please sign in to comment.