[Github-comments] [geany] Parsing long files (#791)

Colomban Wendling notifications at xxxxx
Mon Dec 7 16:23:28 UTC 2015


Hum, that's odd.  4.8M doesn't look very large, and certainly nothing that would require 5 minutes to process.  Could you provide the file so we can check what's going on?

Also, which version of Geany are you using, and on which OS?

Anyway, to work around this you can try a few things:
* Disable real-time symbol parsing (set *Edit → Preferences → Editor → Completions → Symbol list update frequency* to 0).  This would prevent updating the Symbols pane while typing, so if it's the bottleneck it should help a lot.  Note however that the symbols will still be extracted when saving the file.
* If the above helped but it's still too slow when saving the file, you can disable symbol parsing for the Java filetype by setting the `tag_parser` `settings` option to an empty value in *filetypes.java*:
  
  ```config
[settings]
tag_parser=
```
  This is kind of a hack but it should disable all symbol parsing for Java files.
* The nuclear option, disabling all filetype-specific features (highlighting, symbol parsing, etc.), is to use the filetype None for Java files.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/791#issuecomment-162575825
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151207/318a53b4/attachment.html>


More information about the Github-comments mailing list