60
reStructuredText ReST Editor Questions ? ReST Editor Thomas Calmant isandlaTech Thomas Calmant isandlaTech ReST Editor

ReST Editor - Eclipse Demo Camp Grenoble 2011

Embed Size (px)

DESCRIPTION

Presentation of the ReST Edito

Citation preview

Page 1: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

ReST Editor

Thomas CalmantisandlaTech

Thomas Calmant isandlaTech ReST Editor

Page 2: ReST Editor - Eclipse Demo Camp Grenoble 2011

Outline

1 reStructuredTextA documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

2 ReST EditorreStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

Page 3: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

A documentation language

Designed for Python documentation (code and references)

Defined at docutils.sourceforge.net by David Goodger

Plain text mark-up language

Easy to read / write without specific tools

Compilable into many output formats (HTML, LaTex, CHM, man,QtDoc, ...)

Thomas Calmant isandlaTech ReST Editor

Page 4: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

A documentation language

Designed for Python documentation (code and references)

Defined at docutils.sourceforge.net by David Goodger

Plain text mark-up language

Easy to read / write without specific tools

Compilable into many output formats (HTML, LaTex, CHM, man,QtDoc, ...)

Thomas Calmant isandlaTech ReST Editor

Page 5: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

A documentation language

Designed for Python documentation (code and references)

Defined at docutils.sourceforge.net by David Goodger

Plain text mark-up language

Easy to read / write without specific tools

Compilable into many output formats (HTML, LaTex, CHM, man,QtDoc, ...)

Thomas Calmant isandlaTech ReST Editor

Page 6: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

A documentation language

Designed for Python documentation (code and references)

Defined at docutils.sourceforge.net by David Goodger

Plain text mark-up language

Easy to read / write without specific tools

Compilable into many output formats (HTML, LaTex, CHM, man,QtDoc, ...)

Thomas Calmant isandlaTech ReST Editor

Page 7: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

A documentation language

Designed for Python documentation (code and references)

Defined at docutils.sourceforge.net by David Goodger

Plain text mark-up language

Easy to read / write without specific tools

Compilable into many output formats (HTML, LaTex, CHM, man,QtDoc, ...)

Thomas Calmant isandlaTech ReST Editor

Page 8: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Sample code

How to provide documents ?==========================

With |rest| :

.. image:: _static/workflow-rst.png:align: center:height: 3cm

* One source format

* Can be an aggregation of multiple .rst files

* Plain text, so complete version controlcan be done with Git, Subversion, ...

Thomas Calmant isandlaTech ReST Editor

Page 9: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

How to provide documents ?

The old way :

Time wasting

Possible update errors

May need to have the document in different source formats

Nearly impossible to have a correct version control

Thomas Calmant isandlaTech ReST Editor

Page 10: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

How to provide documents ?

The old way :

Time wasting

Possible update errors

May need to have the document in different source formats

Nearly impossible to have a correct version control

Thomas Calmant isandlaTech ReST Editor

Page 11: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

How to provide documents ?

The old way :

Time wasting

Possible update errors

May need to have the document in different source formats

Nearly impossible to have a correct version control

Thomas Calmant isandlaTech ReST Editor

Page 12: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

How to provide documents ?

The old way :

Time wasting

Possible update errors

May need to have the document in different source formats

Nearly impossible to have a correct version control

Thomas Calmant isandlaTech ReST Editor

Page 13: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

How to provide documents ?

With reStructuredText :

One source format

Can be an aggregation of multiple .rst filesPlain text, so complete version control can be done with Git,Subversion, ...Compiled with the same tool for major outputs : Sphinx

Thomas Calmant isandlaTech ReST Editor

Page 14: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

How to provide documents ?

With reStructuredText :

One source formatCan be an aggregation of multiple .rst files

Plain text, so complete version control can be done with Git,Subversion, ...Compiled with the same tool for major outputs : Sphinx

Thomas Calmant isandlaTech ReST Editor

Page 15: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

How to provide documents ?

With reStructuredText :

One source formatCan be an aggregation of multiple .rst filesPlain text, so complete version control can be done with Git,Subversion, ...

Compiled with the same tool for major outputs : Sphinx

Thomas Calmant isandlaTech ReST Editor

Page 16: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

How to provide documents ?

With reStructuredText :

One source formatCan be an aggregation of multiple .rst filesPlain text, so complete version control can be done with Git,Subversion, ...Compiled with the same tool for major outputs : Sphinx

Thomas Calmant isandlaTech ReST Editor

Page 17: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Compilation process

Sphinx : generates major outputs (HTML, LaTex, man, QtDoc, ...)

Some other tools exist :

rst2pdf : generates PDF without LaTex (uses ReportLab library)rst2beamer : generates a LaTex Beamer presentationrst2odt : generates Open/LibreOffice documentsrst2a : an on-line styled PDF generator

All are based on Python, using the official docutils parser.

Thomas Calmant isandlaTech ReST Editor

Page 18: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Compilation process

Sphinx : generates major outputs (HTML, LaTex, man, QtDoc, ...)Some other tools exist :

rst2pdf : generates PDF without LaTex (uses ReportLab library)rst2beamer : generates a LaTex Beamer presentationrst2odt : generates Open/LibreOffice documentsrst2a : an on-line styled PDF generator

All are based on Python, using the official docutils parser.

Thomas Calmant isandlaTech ReST Editor

Page 19: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Compilation process

Sphinx : generates major outputs (HTML, LaTex, man, QtDoc, ...)Some other tools exist :

rst2pdf : generates PDF without LaTex (uses ReportLab library)

rst2beamer : generates a LaTex Beamer presentationrst2odt : generates Open/LibreOffice documentsrst2a : an on-line styled PDF generator

All are based on Python, using the official docutils parser.

Thomas Calmant isandlaTech ReST Editor

Page 20: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Compilation process

Sphinx : generates major outputs (HTML, LaTex, man, QtDoc, ...)Some other tools exist :

rst2pdf : generates PDF without LaTex (uses ReportLab library)rst2beamer : generates a LaTex Beamer presentation

rst2odt : generates Open/LibreOffice documentsrst2a : an on-line styled PDF generator

All are based on Python, using the official docutils parser.

Thomas Calmant isandlaTech ReST Editor

Page 21: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Compilation process

Sphinx : generates major outputs (HTML, LaTex, man, QtDoc, ...)Some other tools exist :

rst2pdf : generates PDF without LaTex (uses ReportLab library)rst2beamer : generates a LaTex Beamer presentationrst2odt : generates Open/LibreOffice documents

rst2a : an on-line styled PDF generator

All are based on Python, using the official docutils parser.

Thomas Calmant isandlaTech ReST Editor

Page 22: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Compilation process

Sphinx : generates major outputs (HTML, LaTex, man, QtDoc, ...)Some other tools exist :

rst2pdf : generates PDF without LaTex (uses ReportLab library)rst2beamer : generates a LaTex Beamer presentationrst2odt : generates Open/LibreOffice documentsrst2a : an on-line styled PDF generator

All are based on Python, using the official docutils parser.

Thomas Calmant isandlaTech ReST Editor

Page 23: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Compilation process

Sphinx : generates major outputs (HTML, LaTex, man, QtDoc, ...)Some other tools exist :

rst2pdf : generates PDF without LaTex (uses ReportLab library)rst2beamer : generates a LaTex Beamer presentationrst2odt : generates Open/LibreOffice documentsrst2a : an on-line styled PDF generator

All are based on Python, using the official docutils parser.

Thomas Calmant isandlaTech ReST Editor

Page 24: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Known users

Guides & References

PythonBazaarBlenderOpenERPZopeMany others Python and non-Python projects

Books

C/C++ Software Development with Eclipse (on-line book)The repoze.bfg Web Application Framework (printed book)

Thomas Calmant isandlaTech ReST Editor

Page 25: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Known users

Guides & ReferencesPython

BazaarBlenderOpenERPZopeMany others Python and non-Python projects

Books

C/C++ Software Development with Eclipse (on-line book)The repoze.bfg Web Application Framework (printed book)

Thomas Calmant isandlaTech ReST Editor

Page 26: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Known users

Guides & ReferencesPythonBazaar

BlenderOpenERPZopeMany others Python and non-Python projects

Books

C/C++ Software Development with Eclipse (on-line book)The repoze.bfg Web Application Framework (printed book)

Thomas Calmant isandlaTech ReST Editor

Page 27: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Known users

Guides & ReferencesPythonBazaarBlender

OpenERPZopeMany others Python and non-Python projects

Books

C/C++ Software Development with Eclipse (on-line book)The repoze.bfg Web Application Framework (printed book)

Thomas Calmant isandlaTech ReST Editor

Page 28: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Known users

Guides & ReferencesPythonBazaarBlenderOpenERP

ZopeMany others Python and non-Python projects

Books

C/C++ Software Development with Eclipse (on-line book)The repoze.bfg Web Application Framework (printed book)

Thomas Calmant isandlaTech ReST Editor

Page 29: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Known users

Guides & ReferencesPythonBazaarBlenderOpenERPZope

Many others Python and non-Python projects

Books

C/C++ Software Development with Eclipse (on-line book)The repoze.bfg Web Application Framework (printed book)

Thomas Calmant isandlaTech ReST Editor

Page 30: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Known users

Guides & ReferencesPythonBazaarBlenderOpenERPZopeMany others Python and non-Python projects

Books

C/C++ Software Development with Eclipse (on-line book)The repoze.bfg Web Application Framework (printed book)

Thomas Calmant isandlaTech ReST Editor

Page 31: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Known users

Guides & ReferencesPythonBazaarBlenderOpenERPZopeMany others Python and non-Python projects

Books

C/C++ Software Development with Eclipse (on-line book)The repoze.bfg Web Application Framework (printed book)

Thomas Calmant isandlaTech ReST Editor

Page 32: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Known users

Guides & ReferencesPythonBazaarBlenderOpenERPZopeMany others Python and non-Python projects

BooksC/C++ Software Development with Eclipse (on-line book)

The repoze.bfg Web Application Framework (printed book)

Thomas Calmant isandlaTech ReST Editor

Page 33: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Known users

Guides & ReferencesPythonBazaarBlenderOpenERPZopeMany others Python and non-Python projects

BooksC/C++ Software Development with Eclipse (on-line book)The repoze.bfg Web Application Framework (printed book)

Thomas Calmant isandlaTech ReST Editor

Page 34: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Existing editors

Few editors with a real support (vim, emacs, JED, ...)

Often with only a syntax coloration support

Thomas Calmant isandlaTech ReST Editor

Page 35: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

A documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

Existing editors

Few editors with a real support (vim, emacs, JED, ...)

Often with only a syntax coloration support

Thomas Calmant isandlaTech ReST Editor

Page 36: ReST Editor - Eclipse Demo Camp Grenoble 2011

Outline

1 reStructuredTextA documentation languageSample codeHow to provide documents ?Compilation processKnown usersExisting editors

2 ReST EditorreStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

Page 37: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

reStructuredText edition in Eclipse

Syntax coloration

Document hierarchy edition using the Outline view

Directives help on mouse hover

Basic context assistance

A Sphinx/Makefile run configuration

Spell checking with Hunspell4Eclipse

Thomas Calmant isandlaTech ReST Editor

Page 38: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

reStructuredText edition in Eclipse

Syntax coloration

Document hierarchy edition using the Outline view

Directives help on mouse hover

Basic context assistance

A Sphinx/Makefile run configuration

Spell checking with Hunspell4Eclipse

Thomas Calmant isandlaTech ReST Editor

Page 39: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

reStructuredText edition in Eclipse

Syntax coloration

Document hierarchy edition using the Outline view

Directives help on mouse hover

Basic context assistance

A Sphinx/Makefile run configuration

Spell checking with Hunspell4Eclipse

Thomas Calmant isandlaTech ReST Editor

Page 40: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

reStructuredText edition in Eclipse

Syntax coloration

Document hierarchy edition using the Outline view

Directives help on mouse hover

Basic context assistance

A Sphinx/Makefile run configuration

Spell checking with Hunspell4Eclipse

Thomas Calmant isandlaTech ReST Editor

Page 41: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

reStructuredText edition in Eclipse

Syntax coloration

Document hierarchy edition using the Outline view

Directives help on mouse hover

Basic context assistance

A Sphinx/Makefile run configuration

Spell checking with Hunspell4Eclipse

Thomas Calmant isandlaTech ReST Editor

Page 42: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

reStructuredText edition in Eclipse

Syntax coloration

Document hierarchy edition using the Outline view

Directives help on mouse hover

Basic context assistance

A Sphinx/Makefile run configuration

Spell checking with Hunspell4Eclipse

Thomas Calmant isandlaTech ReST Editor

Page 43: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

Open source plug-in

Open source plug-in, hosted at SourceForge.net.

Project site : resteditor.sourceforge.netUpdate site : resteditor.sourceforge.net/eclipseAvailable on the Marketplace

Contributors are welcome !

Thomas Calmant isandlaTech ReST Editor

Page 44: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

Open source plug-in

Open source plug-in, hosted at SourceForge.net.Project site : resteditor.sourceforge.net

Update site : resteditor.sourceforge.net/eclipseAvailable on the Marketplace

Contributors are welcome !

Thomas Calmant isandlaTech ReST Editor

Page 45: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

Open source plug-in

Open source plug-in, hosted at SourceForge.net.Project site : resteditor.sourceforge.netUpdate site : resteditor.sourceforge.net/eclipse

Available on the Marketplace

Contributors are welcome !

Thomas Calmant isandlaTech ReST Editor

Page 46: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

Open source plug-in

Open source plug-in, hosted at SourceForge.net.Project site : resteditor.sourceforge.netUpdate site : resteditor.sourceforge.net/eclipseAvailable on the Marketplace

Contributors are welcome !

Thomas Calmant isandlaTech ReST Editor

Page 47: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

Open source plug-in

Open source plug-in, hosted at SourceForge.net.Project site : resteditor.sourceforge.netUpdate site : resteditor.sourceforge.net/eclipseAvailable on the Marketplace

Contributors are welcome !

Thomas Calmant isandlaTech ReST Editor

Page 48: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

The Run configuration

Needs Python and Sphinx to be installed on the system

Works on Unix-like (Makefile) and Windows (make.bat)Allows to run any MakefileAllows to provide an environment to the command

Thomas Calmant isandlaTech ReST Editor

Page 49: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

The Run configuration

Needs Python and Sphinx to be installed on the systemWorks on Unix-like (Makefile) and Windows (make.bat)

Allows to run any MakefileAllows to provide an environment to the command

Thomas Calmant isandlaTech ReST Editor

Page 50: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

The Run configuration

Needs Python and Sphinx to be installed on the systemWorks on Unix-like (Makefile) and Windows (make.bat)Allows to run any Makefile

Allows to provide an environment to the command

Thomas Calmant isandlaTech ReST Editor

Page 51: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

The Run configuration

Needs Python and Sphinx to be installed on the systemWorks on Unix-like (Makefile) and Windows (make.bat)Allows to run any MakefileAllows to provide an environment to the command

Thomas Calmant isandlaTech ReST Editor

Page 52: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

A word about wrapping

No line wrapping support in built-in TextEditor

ReST Editor hard line wrapping inspired from Texlipse method

Modifies the document with an auto-edit strategyDetects blocks of similar lines, then wrap and replace the wholeblock

Soft line wrapping support :

Uses the hard line wrapping, but storing information aboutwrapped blocksUn-wraps blocks on saveProblem : implied modifications on save always set the documentstate to dirty

Thomas Calmant isandlaTech ReST Editor

Page 53: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

A word about wrapping

No line wrapping support in built-in TextEditorReST Editor hard line wrapping inspired from Texlipse method

Modifies the document with an auto-edit strategyDetects blocks of similar lines, then wrap and replace the wholeblock

Soft line wrapping support :

Uses the hard line wrapping, but storing information aboutwrapped blocksUn-wraps blocks on saveProblem : implied modifications on save always set the documentstate to dirty

Thomas Calmant isandlaTech ReST Editor

Page 54: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

A word about wrapping

No line wrapping support in built-in TextEditorReST Editor hard line wrapping inspired from Texlipse method

Modifies the document with an auto-edit strategy

Detects blocks of similar lines, then wrap and replace the wholeblock

Soft line wrapping support :

Uses the hard line wrapping, but storing information aboutwrapped blocksUn-wraps blocks on saveProblem : implied modifications on save always set the documentstate to dirty

Thomas Calmant isandlaTech ReST Editor

Page 55: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

A word about wrapping

No line wrapping support in built-in TextEditorReST Editor hard line wrapping inspired from Texlipse method

Modifies the document with an auto-edit strategyDetects blocks of similar lines, then wrap and replace the wholeblock

Soft line wrapping support :

Uses the hard line wrapping, but storing information aboutwrapped blocksUn-wraps blocks on saveProblem : implied modifications on save always set the documentstate to dirty

Thomas Calmant isandlaTech ReST Editor

Page 56: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

A word about wrapping

No line wrapping support in built-in TextEditorReST Editor hard line wrapping inspired from Texlipse method

Modifies the document with an auto-edit strategyDetects blocks of similar lines, then wrap and replace the wholeblock

Soft line wrapping support :

Uses the hard line wrapping, but storing information aboutwrapped blocksUn-wraps blocks on saveProblem : implied modifications on save always set the documentstate to dirty

Thomas Calmant isandlaTech ReST Editor

Page 57: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

A word about wrapping

No line wrapping support in built-in TextEditorReST Editor hard line wrapping inspired from Texlipse method

Modifies the document with an auto-edit strategyDetects blocks of similar lines, then wrap and replace the wholeblock

Soft line wrapping support :Uses the hard line wrapping, but storing information aboutwrapped blocks

Un-wraps blocks on saveProblem : implied modifications on save always set the documentstate to dirty

Thomas Calmant isandlaTech ReST Editor

Page 58: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

A word about wrapping

No line wrapping support in built-in TextEditorReST Editor hard line wrapping inspired from Texlipse method

Modifies the document with an auto-edit strategyDetects blocks of similar lines, then wrap and replace the wholeblock

Soft line wrapping support :Uses the hard line wrapping, but storing information aboutwrapped blocksUn-wraps blocks on save

Problem : implied modifications on save always set the documentstate to dirty

Thomas Calmant isandlaTech ReST Editor

Page 59: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

reStructuredText edition in EclipseOpen source plug-inThe Run configurationA word about wrapping

A word about wrapping

No line wrapping support in built-in TextEditorReST Editor hard line wrapping inspired from Texlipse method

Modifies the document with an auto-edit strategyDetects blocks of similar lines, then wrap and replace the wholeblock

Soft line wrapping support :Uses the hard line wrapping, but storing information aboutwrapped blocksUn-wraps blocks on saveProblem : implied modifications on save always set the documentstate to dirty

Thomas Calmant isandlaTech ReST Editor

Page 60: ReST Editor - Eclipse Demo Camp Grenoble 2011

reStructuredTextReST EditorQuestions ?

Questions ?

Any question ?

Thomas Calmant isandlaTech ReST Editor