markiewb / nb-resource-hyperlink-at-cursor

NetBeans Plugin which adds hyperlinks to filenames within String literals of Java sources
http://plugins.netbeans.org/plugin/52349/?show=true
6 stars 2 forks source link

Freeze because of too much time in org.netbeans.api.lexer.TokenSequence.movePrevious #3

Closed markiewb closed 8 years ago

markiewb commented 10 years ago

2014-02-13_10h14_30

markiewb commented 8 years ago

Culprit is https://github.com/markiewb/nb-resource-hyperlink-at-cursor/blob/master/src/main/java/de/markiewb/netbeans/plugins/resourcehyperlink/ResourceHyperlinkProvider.java#L173

markiewb commented 8 years ago

I use the same algorithm as in https://github.com/Tateology/java-corpus/blob/4c8b54c226ebbb7051fc18b4d0e44ce46ff5000b/netbeans/javascript2.jquery/src/org/netbeans/modules/javascript2/jquery/model/JQueryUtils.java#L60

markiewb commented 8 years ago

Hopefully fixed in 1.3.2