All Projects → XVincentX → Vscode Apielements

XVincentX / Vscode Apielements

Licence: other
VSCode extensions for API Elements (aka: API Blueprint and Swagger)

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Vscode Apielements

Vs Swagger Viewer
Swagger Viewer lets you preview and validate Swagger 2.0 and OpenAPI files as you type in Visual Studio Code.
Stars: ✭ 126 (+7.69%)
Mutual labels:  swagger, vscode, vscode-extension
Vscode Code Runner
Code Runner for Visual Studio Code
Stars: ✭ 1,332 (+1038.46%)
Mutual labels:  vscode, vscode-extension
Vscode Ptt
在 VSCode 瀏覽 PTT!
Stars: ✭ 110 (-5.98%)
Mutual labels:  vscode, vscode-extension
Laserwave
A retro outrun / cyberpunk inspired VS Code theme
Stars: ✭ 102 (-12.82%)
Mutual labels:  vscode, vscode-extension
Vscode
Unibeautify for VSCode
Stars: ✭ 110 (-5.98%)
Mutual labels:  vscode, vscode-extension
Vscode Mdx
MDX for Visual Studio Code
Stars: ✭ 91 (-22.22%)
Mutual labels:  vscode, vscode-extension
Vscode Rss
An RSS reader embedded in Visual Studio Code
Stars: ✭ 102 (-12.82%)
Mutual labels:  vscode, vscode-extension
Css Flexbox Cheatsheet
VS Code extension that lets you open a CSS Flexbox cheatsheet directly in the editor.
Stars: ✭ 87 (-25.64%)
Mutual labels:  vscode, vscode-extension
Vscode Mdx Preview
MDX Preview for Visual Studio Code
Stars: ✭ 103 (-11.97%)
Mutual labels:  vscode, vscode-extension
Vscode Winteriscoming
Dark theme with fun and bright foreground colors
Stars: ✭ 105 (-10.26%)
Mutual labels:  vscode, vscode-extension
Vscode Solidity Auditor
Solidity language support and visual security auditor for Visual Studio Code
Stars: ✭ 108 (-7.69%)
Mutual labels:  vscode, vscode-extension
I18n Ally
🌍 All in one i18n extension for VS Code
Stars: ✭ 1,931 (+1550.43%)
Mutual labels:  vscode, vscode-extension
Vscode Numbered Bookmarks
Numbered Bookmarks Extension for Visual Studio Code
Stars: ✭ 90 (-23.08%)
Mutual labels:  vscode, vscode-extension
Vscode Js Annotations
Javascript / Typescript Parameter Annotations for Visual Studio Code
Stars: ✭ 110 (-5.98%)
Mutual labels:  vscode, vscode-extension
Syntax Highlighter
Syntax Highlighter extension for Visual Studio Code (VSCode). Based on Tree-sitter.
Stars: ✭ 88 (-24.79%)
Mutual labels:  vscode, vscode-extension
Betterfountain
A screenwriting app integrated into visual studio code
Stars: ✭ 99 (-15.38%)
Mutual labels:  vscode, vscode-extension
Vscode Postgres
PostgreSQL extension for vscode providing explorer, highlighting, diagnostics, and intellisense
Stars: ✭ 117 (+0%)
Mutual labels:  vscode, vscode-extension
Vim
⭐ Vim for Visual Studio Code
Stars: ✭ 9,782 (+8260.68%)
Mutual labels:  vscode, vscode-extension
Php Namespace Resolver
PHP Namespace Resolver - VSCode Extension
Stars: ✭ 83 (-29.06%)
Mutual labels:  vscode, vscode-extension
Vscode Yuml
yUML extension for Visual Studio Code
Stars: ✭ 102 (-12.82%)
Mutual labels:  vscode, vscode-extension

API Elements for Visual Studio Code

Marketplace link Installs Rating

Welcome to the API Elements extension for Visual Studio Code! This is a totally untested extension which will improve your experience working with API description formats like API Blueprint and Swagger. It provides some great features, such as:

Basic Screenshot

What's API Elements about?

API Elements is the structure for parse results of both API Blueprint and Swagger, and it is built on the Refract format. It provides a single format for interacting with parse results from various API description formats. So far, only API Blueprint and Swagger are supported.

Future development / ideas

  • Render the document using aglio (this requires investigation as it's able to work just with API Blueprint)
  • Provide autocomplete (if I type + Request [ I want to see Http verbs, or in payloads I want to recall MSON structures)
  • Use Codelens feature to provide MSON references and Dredd test status for endpoint
  • Integrate with other API tools (see Dredd or drakov)

Found a Bug or - do you need a particular feature?

Please file an issue at https://github.com/XVincentX/vscode-apielements.

Development

First install:

  • Node.js (newer than 4.3.1)
  • Npm (newer 2.14.12) - probably 3.x would be even better

This extension is built on top of Visual Studio template; so:

To run and develop do the following:

  • For both server and client directory (in the exact order):

  • Run npm i

  • Open the server in Visual Studio Code (code .) and run the build task

  • Open the client in Visual Studio Code (code .) and run the launch task

  • Press F5 in the server to debug and use the extension in the VS Host instance.

Note: If you're on a Unix envirnonment, you might want to use open.sh file which will open both client and server instances at the same time.

Testing the sources

Sometimes the master branch is not in sync with the latest published version (which is normal). If you want to test the latest change in your VSCode instance, just follow the following steps

  1. npm install -g vsce
  2. Clone the current repository and switch to the requested branch
  3. Navigate to the server directory, then npm install and npm run compile
  4. Navigate to the client directory, then npm install and npm run compile and vsce package
  5. Drag and drop the generated vsix file into Visual Studio Code, which will load the extension.

Notes

Symbol navigation

Symbol navigation is strongly dependant on sourcemaps quality provided by the parser. Currently, the following resources are indexed:

  1. API Title
  2. resource
  3. resourceGroup
  4. transitions

The idea would be, of course, to improve symbol navigation as much as possible and exploit sourcemaps in all their power. This, however, might take time. If you feel there are some important symbols I'm missing, please file an issue, I'll be happy to evaluate it.

Basic Apiary Integration

This extension is able to provide basic Apiary integration. Fundamentally, the entire Apiary client has been reimplemented following the Apiary API documentation. It means that you can perform the following actions:

  1. Fetch an API Description Document from your account
  2. Publish an API Description Document to your account
  3. Browse an API Description (navigating on Apiary.io hosted documentation)

without having to leave the editor at all.

Most of the process is actually automated. Thous, it will ask you to provide a token and redirect you to the right page if it's not avaliable on your computer. All those commands are listed with an Apiary prefix. Therefore, to see what you can do, simply type Apiary in the command box to see what's going on.

Acknowledges

Even if I currently used to work for Apiary, this extension is my personal work and it's not backed by Apiary. If you're enjoying the extension and would like to help, consider a donation

Dependencies status:

Client: dependencies Status

Server: dependencies Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].