From 85d8716f5ad03795c68fd72c8053a8990c6004bf Mon Sep 17 00:00:00 2001 From: hsz Date: Tue, 20 Jan 2015 13:08:54 +0100 Subject: [PATCH] release v0.1.1 --- META-INF/plugin.xml | 15 ++++- README.md | 74 +++++++++++++++++++++++- src/mobi/hsz/idea/latex/lexer/Latex.flex | 1 - 3 files changed, 85 insertions(+), 5 deletions(-) diff --git a/META-INF/plugin.xml b/META-INF/plugin.xml index b9b5f90..814b86a 100644 --- a/META-INF/plugin.xml +++ b/META-INF/plugin.xml @@ -1,7 +1,7 @@ mobi.hsz.idea.latex LaTeX - 0.1 + 0.1.1 hsz Features
    -
  • Basic syntax highlighting
  • +
  • Syntax highlighting
Feature requests:
    -
  • many
  • +
  • suggesting functions' names
  • +
  • obtaining installed packages
  • +
  • generating PDF files
  • +
  • preview generated PDF files
  • +
  • and more...

@@ -35,6 +39,11 @@ ]]>
+
  • Fixed syntax highlighting (better BNF and Flex rules)
  • + + Version 0.1
    • Basic syntax highlighting
    • diff --git a/README.md b/README.md index fc35126..7a5f9cb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,76 @@ idea-latex [![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=V6QCW4DR2XWY4) ========== -LaTeX plugin for IntelliJ IDEA +Introduction +------------ + +**LaTeX** is a plugin supporting LaTeX in your project. It supports following JetBrains IDEs: + +- Android Studio +- AppCode +- IntelliJ IDEA +- PhpStorm +- PyCharm +- RubyMine +- WebStorm +- 0xDBE + +*Compiled with Java 1.6* + + +Features +-------- + +- Syntax highlighting + +*Feature requests:* + +- *suggesting functions' names* +- *obtaining installed packages* +- *generating PDF files* +- *preview generated PDF files* +- *and more...* + + +Installation +------------ + +- Using IDE built-in plugin system: + - Preferences > Plugins > Browse repositories... > Search for "LaTeX" > Install Plugin +- Manually: + - Download the [latest release][latest-release] and install it manually using Preferences > Plugins > Install plugin from disk... + +Restart IDE. + + +Changelog +--------- + +Version 0.1.1 + +- Fixed syntax highlighting (better BNF and Flex rules) + +Version 0.1 + +- Basic syntax highlighting + + +Developed By +------------ + +[**@hsz** Jakub Chrzanowski][hsz] + + +**Contributors** + +- *you can be first on this list* + + +License +------- + +Copyright (c) 2015 hsz Jakub Chrzanowski. See the [LICENSE](./LICENSE) file for license rights and limitations (MIT). + + +[hsz]: http://hsz.mobi +[latest-release]: https://github.com/hsz/idea-latex/releases/latest diff --git a/src/mobi/hsz/idea/latex/lexer/Latex.flex b/src/mobi/hsz/idea/latex/lexer/Latex.flex index 37dcdfc..4c30d1c 100644 --- a/src/mobi/hsz/idea/latex/lexer/Latex.flex +++ b/src/mobi/hsz/idea/latex/lexer/Latex.flex @@ -28,7 +28,6 @@ LINE_WS = [\ \t\f] WHITE_SPACE = ({LINE_WS}|{EOL})+ INSTRUCTION = \\[a-zA-Z]+ -//ARGUMENT = [^\ \n\r\t\f]+ COMMENT = %.* ARGUMENT = [^\(\)\{\}\[\]\\,] TEXT = [^\(\)\{\}\[\]\\\%\ \t\f\r\n]|"\\\%"|("\\"{SPECIAL})