Skip to content

Commit

Permalink
VSCode update to fix preview image
Browse files Browse the repository at this point in the history
  • Loading branch information
mario4tier committed Apr 30, 2024
1 parent ee28935 commit 81a77c9
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 24 deletions.
Binary file added media/vscode_preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion typescript/vscode-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

## [Unreleased]

- Initial release
## 0.0.4
- Warn about requiring suibase to be installed.
- Clean-up sidebar buttons.

## 0.0.1
- Initial release
18 changes: 14 additions & 4 deletions typescript/vscode-extension/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
## Suibase

Minimize Sui binary version mismatch by installing one distinct Sui binary version per network (e.g. localnet, devnet etc...).
Important:
- Requires Suibase CLI to be installed ( https://suibase.io/how-to/install )
- Work-in-progress. This is a graphical interface of only a subset of what Suibase CLI provides.

Easily update your sui binary to latest in one-click.
![preview](media/vscode_preview.png)

See https://suibase.io for more information
Implemented features:
- Dashboard to start/stop/status of network services (localnet, testnet, devnet, mainnet).
- Shows version of installed Sui binaries.

Note: This extension is work-in-progress
Coming soon features:
- Wallet/alias editor
- View most recent published packages (and created objects).
- Debug console for Move programs.
- Proxy server interface

See https://suibase.io for more information
2 changes: 1 addition & 1 deletion typescript/vscode-extension/dist/extension.js

Large diffs are not rendered by default.

Binary file modified typescript/vscode-extension/media/logo_128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions typescript/vscode-extension/media/vscode_preview.png
33 changes: 19 additions & 14 deletions typescript/vscode-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,46 @@
{
"name": "suibase",
"displayName": "suibase",
"displayName": "Suibase",
"publisher": "suibase",
"description": "Streamline Sui Move development and testing.",
"author": {
"name": "Mario Fortier"
},
"license": "Apache-2.0",
"icon": "media/logo_128.png",
"version": "0.0.1",
"repository": "https://github.com/ChainMovers/suibase",
"version": "0.0.3",
"repository": {
"type": "git",
"url": "https://github.com/ChainMovers/suibase.git"
},
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Other"
"Programming Languages",
"Debuggers",
"Testing"
],
"pricing": "Free",
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "suibase.settings",
"title": "settings",
"icon": "$(settings-view-bar-icon)"
"command": "suibase.dashboard",
"title": "Dashboard",
"icon": "$(dashboard)"
},
{
"command": "suibase.console",
"title": "console",
"icon": "$(debug-console)"
},
{
"command": "suibase.refresh",
"title": "refresh",
"icon": "$(refresh)"
}
],
"menus": {
"view/title": [
{
"command": "suibase.settings",
"command": "suibase.dashboard",
"when": "view == explorerView",
"group": "navigation@0"
},
Expand Down Expand Up @@ -64,7 +70,6 @@
{
"id": "explorerView",
"name": "Suibase",
"icon": "media/logo_128.svg",
"contextualTitle": "Suibase",
"type": "webview"
}
Expand Down
4 changes: 2 additions & 2 deletions typescript/vscode-extension/src/common/Consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const API_URL = "http://0.0.0.0:44399";
// Unique identified for each participant exchanging messages.
//
// They are used in messages/params when coordinating between views and the extension.
export const WEBVIEW_DASHBOARD = "suibase.settings";
export const WEBVIEW_DASHBOARD = "suibase.dashboard";
export const WEBVIEW_CONSOLE = "suibase.console";
export const WEBVIEW_EXPLORER = "suibase.sidebar";
export const WEBVIEW_EXPLORER = "suibase.explorer";
export const WEBVIEW_BACKEND = "suibase.backend"; // Not really a webview, but name similarly for consistency....

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const ConsoleController = () => {
//let suibaseData: SuibaseData = SuibaseData.getInstance();

return (
<>Console Controller
<>Note: Not implemented yet.<br/> Will show events from your last published module(s).
</>
);
}
Expand Down

0 comments on commit 81a77c9

Please sign in to comment.