Skip to content

Commit

Permalink
Merge pull request #3169 from ethereum/searchFaq
Browse files Browse the repository at this point in the history
update to faq and search
  • Loading branch information
ryestew committed Sep 12, 2023
2 parents 3fee2cf + dce34e1 commit e971b9e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
17 changes: 9 additions & 8 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ FAQ

**A:** Yes - here is the list of keyboard shortcuts:

`Ctrl+Shift+F` : Opens the File Explorer

`Ctrl+Shift+A` : Opens the Plugin Manager

`Ctrl+S`: Compiles the active Solidity file

`Ctrl+Shift+S`: Compiles a Solidity file and runs a script when the script is displayed in the editor.<br>(go [here](running_js_scripts.html#compile-a-contract-and-run-a-script-on-the-fly) for more info about this functionality)

`Ctrl+Shift+F` : Opens the File Explorer

`CTRL+Alt+F` : Formats the code in the current file

`Ctrl+Shift+A` : Opens the Plugin Manager

### Solidity compiler

**Q:** Error: compiler might be in a non-sane state
Expand All @@ -44,7 +46,7 @@ Please change the compiler version in Solidity Plugin to the newer one or use an

**A:** The verification tool does not recursively go through the import statements in a contract. So can only verify a 'flattened' contract.

There is a plugin called `Flattener` which will stuff all the original code and the imported code into a single file.
A contract can be 'flattened' by right-clicking on it in the File Explorer and choosing the `Flatten` option. This will assemble all the original code as well as the imported code into a single file.

### Deploy & Run

Expand All @@ -54,8 +56,7 @@ There is a plugin called `Flattener` which will stuff all the original code and

**Q:** Where is deploy button?

**A:** It's in the Deploy & Run module. If you haven't activated that module, you should do that by clicking Deploy & Run module in the Plugin Manager.
You could also activate everything you need to work with solidity on the landing page (click the remix logo at the top left of the screen) and click the "Solidity" button in the environment section.
**A:** It's in the **Deploy & Run Transactions** module.

**Q:** How to pass a tuple to a public function in Remix?

Expand Down Expand Up @@ -127,7 +128,7 @@ The input of initPeepToPeeps takes a struct. If you input

**Q:** Where is the info stored? Is the info shared with 3rd parties?

**A:** All data collected through Matomo is stored on our own server. No data is given to third parties.
**A:** All data collected through Matomo is stored on our server. No data is given to third parties.

We respect your privacy and do not collect nor store any personally identifiable information (PII).

Expand Down
Binary file added docs/images/a-search-open.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/a-search.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 8 additions & 4 deletions docs/search_in_fe.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
Search plugin
Search in Files
================
Search is a plugin which comes by default when you open Remix IDE first time.
The **Search in Files** plugin is loaded by default. It also includes functionality to search & replace as well as searching with regular expressions.

It helps to find any text throughout the workspace.
![](images/a-search.png)

More details, coming soon.
This plugin searches through text in the files of the current workspace. It does not search across workspaces.

## Search and Replace
Clicking on the caret to the left of the text input box will reveal the **replace** functionality.

![](images/a-search-open.png)

0 comments on commit e971b9e

Please sign in to comment.