Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-07

New tool sspell for pascal programmers

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Darius Blaszyk

Hi all,

I've just finished working on a tool called sspell (stands for source code spell checker) for a project of mine. This tool extracts text from comments and string literals in source code files and checks them for spelling. Very useful in my case when you have a lot of resourcestrings, comments or literals in your source code.

Please note that I have written this tool only in a couple of hours and bugs may certainly be present. Also there are a number of features missing and improvements pending (some of them mentioned in the readme on the project page).

However I would like to share the tool with anyone interested already at this early stage. All relevant files are present here: https://github.com/daar/sspell for anyone to review and comment

If you find this tool interesting and would like to contribute, please either send me a patch or make a pull request. Remarks can be directed to this ML.

Enjoy!

Rgds, Darius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170724/3709560a/attachment.html>

Reply by email

Alexey
to Darius Blaszyk
Darius Blaszyk wrote
This tool extracts text from comments and string literals in source code files and checks them for spelling. Very useful

It is already doable in CudaText editor:

- install plugin SpellChecker [not ready for Win64]

- open Pas file, call spell-checker plugin

- it hilites only errs in comments/strings (and can call suggestion dlg to fix em).

Regards, Alexey

Reply by email

Mattias Gaertner
to Alexey
Show quoted text 12 lines
On 24.07.2017 04:07, Darius Blaszyk via Lazarus wrote: > This tool extracts text from comments and string literals in source > code files and checks them for spelling. Very useful It is already doable in CudaText editor: - install plugin SpellChecker [not ready for Win64] - open Pas file, call spell-checker plugin - it hilites only errs in comments/strings (and can call suggestion dlg to fix em).

How does it hilite? Within the source editor?

Mattias

Reply by email

Darius Blaszyk
to Alexey: It is already doable in CudaText editor: - install plugin SpellChecker [not ready for…

Alexey via Lazarus schreef op 24 jul '17:

Show quoted text 13 lines
On 24.07.2017 04:07, Darius Blaszyk via Lazarus wrote: > This tool extracts text from comments and string literals in source > code files and checks them for spelling. Very useful It is already doable in CudaText editor: - install plugin SpellChecker [not ready for Win64] - open Pas file, call spell-checker plugin - it hilites only errs in comments/strings (and can call suggestion dlg to fix em).

Quite a lot of modern code editors have such a feature already, which is good. However, this means that one needs to manually point and click each highlighted error. Sspell will make it possible to interactively scan a file or even a complete folder recursively and fix errors as they are detected.

Rgds, Darius

Reply by email