-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
show erc list in editor #4107
show erc list in editor #4107
Conversation
✅ Deploy Preview for remixproject ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
/* eslint-disable */ | ||
// Related to https://github.com/juanfranblanco/vscode-solidity/blob/master/snippets/solidity.json | ||
{ | ||
label: 'erc20i', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably the labels should be more explicit, like generate erc20i
for instance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw just wondering, do we already have snippet for generating loops?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably the labels should be more explicit, like
generate erc20i
for instance.
that is a keyword to show the list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably the labels should be more explicit, like
generate erc20i
for instance.
that is a keyword to show the list. We can update the detail field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw just wondering, do we already have snippet for generating loops?
yes, we have
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is a keyword to show the list. We can update the detail field
yes, in https://github.com/juanfranblanco/vscode-solidity/raw/master/screenshots/ercautocomplete1.png
there's a quick and a full description associated with the keyword.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably the labels should be more explicit, like
generate erc20i
for instance.that is a keyword to show the list. We can update the detail field
updated @yann300
ok I see thanks for the update, is this also possible to add the full description, as in the screenshot above? |
it is there, when you click on |
Show a list of listed erc interfaces and standards when user types
erc
in the editor.On clicking enter, relevant code should be pasted in the code according to selection.
Inspired from: https://github.com/juanfranblanco/vscode-solidity/tree/master#erc-erc-drafts-and-smart-contracts-snippets--reference
erc details are fetched from: https://github.com/juanfranblanco/vscode-solidity/blob/master/snippets/solidity.json