https://github.com/androiddevelop/reverselines
an idea plugin for reverse lines
https://github.com/androiddevelop/reverselines
idea plugin
Last synced: about 2 months ago
JSON representation
an idea plugin for reverse lines
- Host: GitHub
- URL: https://github.com/androiddevelop/reverselines
- Owner: androiddevelop
- License: apache-2.0
- Created: 2018-04-05T09:42:20.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-04T04:18:21.000Z (over 5 years ago)
- Last Synced: 2025-01-27T10:44:56.634Z (over 1 year ago)
- Topics: idea, plugin
- Language: Java
- Homepage: http://open.codeboy.me
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ReverseLines
idea plugin for reverse lines.
### Example
Reverse the order of the elements inserted into the list
#### source code:
```java
List list = new ArrayList<>();
list.add("a");
list.add("b");
list.add("c");
list.add("d");
list.add("e");
list.add("f");
```
#### target code:
```java
List list = new ArrayList<>();
list.add("f");
list.add("e");
list.add("d");
list.add("c");
list.add("b");
list.add("a");
```
#### steps:
what you need to do is as follows:
1. select the part you want to reverse. In the above example, select the line 2 to line 7.
2. click edit menu and select【Reverse Lines】Or right click and select【Reverse Lines】Or simply press the 【command + shift + r 】shortcut
### License
```
Copyright 2020 Yuedong.li
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
> Have any questions please contact me (app@codeboy.me).