Skip to content

Commit 1c7d03e

Browse files
committed
Remove Generate Sequence Diagram intention.
1 parent f075624 commit 1c7d03e

File tree

6 files changed

+17
-77
lines changed

6 files changed

+17
-77
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
# SequenceDiagram Changelog
22

33
## [Unreleased]
4+
## [2.1.10]
45
### Added
56
- `Show lambda call` option
67
- Add Color Icon in setting Colors.
78
- Support generate function expression body in kotlin
89
- Support generate lambda_argument
910

11+
### Removed
12+
- Remove `Generate Sequence Diagram` intention
13+
14+
### Fixed
15+
- Issue#127
16+
- Issue#100 Method Declaration Becomes Grey
17+
1018
## [2.1.9]
1119
### Changed
1220
- Build for 222.x

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Since v2.1.0, the UI has improved a lot. now you can easily find it everywhere :
9696
2. In Tools menu. `Tools` > `Sequence Diagram ...`
9797
3. In Project view popup up menu. `Sequence Diagram ...`
9898
4. In Editor popup up menu. `Sequence Diagram ...`
99-
5. In IntentionAction tips.`Generate sequence diagram`
99+
5. ~~In IntentionAction tips.`Generate sequence diagram`~~(removed, not stable)
100100

101101
Please try to experience it and find what happen.
102102

src/main/java/org/intellij/sequencer/SequenceAnnotator.java

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/main/java/org/intellij/sequencer/SequenceIntentionAction.java

Lines changed: 0 additions & 46 deletions
This file was deleted.

src/main/java/org/intellij/sequencer/diagram/Parser.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package org.intellij.sequencer.diagram;
22

33
import com.google.gson.Gson;
4+
import com.google.gson.stream.MalformedJsonException;
45
import org.apache.log4j.Logger;
56
import org.intellij.sequencer.Constants;
67
import org.intellij.sequencer.generator.ClassDescription;
@@ -40,7 +41,12 @@ public void parse(PushbackReader reader) throws IOException {
4041
break;
4142
} else if (c == '(') {
4243
String methodName = readIdent(reader);
43-
addCall(methodName);
44+
try { addCall(methodName); } catch (Throwable e) {
45+
if (e instanceof MalformedJsonException) {
46+
LOGGER.error("org.intellij.sequencer.diagram.Parser: "+methodName);
47+
}
48+
throw e;
49+
}
4450
} else if (c == ')') {
4551
addReturn();
4652
} else {
@@ -235,6 +241,7 @@ else if (c == '\\') {
235241

236242
/**
237243
* Peek a sdt tile read top method of Sequence Diagram.
244+
*
238245
* @param f a .sdt file
239246
* @return MethodDescription
240247
*/

src/main/resources/META-INF/plugin.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ The original version SequencePlugin come from ksibilev@yahoo.com.</p>
5858
<projectService serviceInterface="org.intellij.sequencer.SequenceService"
5959
serviceImplementation="org.intellij.sequencer.impl.SequenceServiceImpl"/>
6060

61-
<annotator language="JAVA" implementationClass="org.intellij.sequencer.SequenceAnnotator"/>
6261

6362
</extensions>
6463
</idea-plugin>

0 commit comments

Comments
 (0)