diff --git a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx index 5d0a404cd3..675369991b 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx @@ -634,7 +634,25 @@ export const CompilerContainer = (props: CompilerContainerProps) => { + +
+
choose the script to execute right after compilation by adding the `dev-run-script` natspec tag, as in:
+
+                
+                /**
+ * @title ContractName
+ * @dev ContractDescription
+ * @custom:dev-run-script file_path
+ */
+ contract ContractName {'{}'}
+
+
+
+ + }> Ctrl+Shift+s for compiling and on the fly execution. +
diff --git a/libs/remix-ui/solidity-compiler/src/lib/css/style.css b/libs/remix-ui/solidity-compiler/src/lib/css/style.css index bf1d4d05c9..c57de2e609 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/css/style.css +++ b/libs/remix-ui/solidity-compiler/src/lib/css/style.css @@ -171,6 +171,13 @@ -o-animation: spin 2s infinite linear; -webkit-animation: spin 2s infinite linear; } + +.remixui_tooltipCode { + text-align: left !important; + width: 400px !important; + background-color: #000 !important; +} + @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); }