hyperbrain / serverless-vscode Goto Github PK
View Code? Open in Web Editor NEWServerless framework integration for VSCode
License: MIT License
Serverless framework integration for VSCode
License: MIT License
Package service
and Deploy service
commands are shown in all context menus. This can be seen when you right-click any file node in the VSCode explorer tree.What did you expect should have happened?
They should only appear in the Serverless outline.
What stacktrace or error message from your provider did you see?
N/A
Currently it is possible to execute a Serverless command while another one is still running (e.g. package is running and you invoke deploy). This leads to a messed up serverless run, because Serverless is designed to run only one command at a time.
The extension should store a flag in the extension context that indicates if a command is currently active. Any further command execution should show an error, as long as the current command has not been finished.
The extension should allow invoking serverless deploy
. The command shall be contained in the top hives' context menus.
The current version only supports locally installed per project serverless instances.
It should support global serverless installations too.
The plugin should set the defaultRegion
parameter to an empty string, so that it would not add any region parameter to the serverless command line. This will automatically use the user's configured project region (serverless.yml
) in the first place. Otherwise it could lead to an unexpected deployment into the wrong region (thanks @panzupa).
Similar or dependent issue(s):
New issues and PRs should load a GitHub template to unify the reports.
This makes processing and planning much easier
The API hive is currently empty.
It should display the whole service API structure (combination of all function endpoints, shown like the deployed API Gateway)
The extension should be universal. To be proven as that, we should try to get feedback on how it behaves for other providers.
There might be the need to have some adaptions in the configuration, etc. depending on the selected provider.
If you see this task, use VSCode but anything else than AWS, please provide feedback.
For bug reports:
For feature proposals:
Similar or dependent issue(s):
Trying to build the extension in order to test/submit a PR.
Cannot build master
branch
Source should have built
node@8 and node@11, usual npm install
, building inside VSC
Build exits with this error:
src/lib/serverlessOutline.ts(124,31): error TS2459:
Type 'string' has no property 'http' and no string index signature.
Is there a configuration etc. that I'm missing?
The following topics should be resolved
Instead of only asking for the stage when running commands, the extension should also be able to ask for a region.
As the default region most likely covers most service setups, the availability of the region text input box can be added as configurable feature. The extension configuration should contain a boolean flag (askForRegion) that can be used to enable or disable the text input per workspace or globally.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.