单击AddOutput,和之前步骤一样,变量重命名为 RequestOuput并选择Requestdatatype。
Click Add Output. As with the previous step, rename the variable to RequestOuput and select the Request data type.
您可以使用它重命名项目中的任何方法、变量或类。
You can use it to rename any method, variable, or class in your project. To try it
用简单地查找和替换,你必须手工决定应该重命名哪一个变量。
With a simple search and replace you have to decide manually which occurrences should be renamed.
因为我们显式地将新变量拼接到现有的语法对象中,所以不会对它们进行重命名。
Since we explicitly spliced the new variables into the existing syntax object, there is no chance for them to be renamed.
当你重命名一个参数时,它会自动根据名称映射到一个路径变量上,注解中的路径变量也会随之改变。
So when you rename a parameter that is also automatically mapped by its name to a path variable, the path variable in the annotation is changed automatically as well.
对代码进行重命名以及改变代码的物理结构,包括对属性、变量、类以及接口重新命名,还有移动包和类等。
Changing the name and physical organization of code, including renaming fields, variables, classes, and interfaces, and moving packages and classes.
在第一小步之后,我们开始实现其他的重构功能:InlineMethod,重命名方法、变量、属性及类。
After the first tiny steps we started to implement the other refactorings Inline method, Rename of methods, variables, fields and classes.
重命名 Method-scoped变量。
必要时重构这个代码。例如,重组语句、重命名变量等等。
Refactor the code if required. For example, reorganize the statements, rename the variables, and so on.
某些更改,如重命名为更多的调整名称变量,或移动到一个新的函数的代码块的使代码更易于理解。
Some changes, such as renaming a variable to a more fitting name or moving a block of code into a new function, make the code easier to understand.
许多基本编辑环境这样简单的重构支持重命名一个函数或变量在整个代码库。
Many basic editing environments support simple refactorings like renaming a function or variable across an entire code base.
如果在重命名全局变量或静态变量后应用代码更改或用调试命令调用“编辑并继续”,则发生该错误。
This error occurs if you apply code changes or invoke Edit and Continue with a debug command after renaming a global or static variable.
如果在重命名全局变量或静态变量后应用代码更改或用调试命令调用“编辑并继续”,则发生该错误。
This error occurs if you apply code changes or invoke Edit and Continue with a debug command after renaming a global or static variable.
应用推荐