Skip to content

Conversation

LefterisJP
Copy link
Collaborator

You can now get a gas estimate of the function under the cursor, by placing the curson
on top of the function name and typing C-c C-g.

You can change this default binding by modifying the keymap in your emacs init file

(define-key map (kbd "C-c C-g") 'solidity-estimate-gas-at-point)

Works for all functions except from constructor. Cursor needs to be on the
function name. It's bound to "C-c C-g". User can change this by modifying the
keymap as is standard with emacs packages.
@LefterisJP LefterisJP merged commit a2f722c into master Dec 28, 2017
@LefterisJP LefterisJP deleted the gas_estimation branch December 30, 2017 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant