This is a Sublime Text plugin for Software AG Natural, Cobol's ugly, brain-damaged, BABBLING IN ALL-CAPS — but regrettably still healthy and strong — cousin.
Made with ❤️ for those poor souls who, like me, must endure the abhorrence on their day jobs. May it infinitesimally diminish your suffering.
Use the Sublime Text Package Manager to install "Unnatural" or download the package and copy it to your package folder (Preferences → Browse Packages...).
- Now available through Package Control
- Improve how some code snippets are triggered
- Just minor changes.
- Renamed to Unnatural because, really...
- Now compatible with ST2
- Line labels
- Understands all keywords — all 530 of them
- No more f... words printed on the console
- Consider the hyphen and hash sign as valid characters in an identifier
- Automatic indentation of control structures and subroutines
- Properly highlight unicode strings, date and time literals, and more keywords (but not all three million of them yet)
- Snippet for
decide on value
statement - Automatically add a ruler to column 72, preserving other rulers the user may have defined
- Update variable levels when they are indented and unindented
- Key maps for Windows and Linux too
- Syntax highlighting (obviously)
- Snippets for
if
,if-else
,define subroutine
- Comment toggling
- Symbol palette search for views and internal subroutines
- Autocomplete internal subroutine names for the
perform
statement - Comment and uncomment empty lines
- Autoindent variables when the level number is typed
- Language for data-definition
- Convert from natural-style to ugly-style data areas and back
- Autocomplete view names for
find
,histogram
andread
- Autocomplete variable names when pressing . after a view, group or redefined name
- Autocomplete object names (in the same project) for
callnat
- Handle "component based programing" 😏
The MIT License (MIT)
Copyright (c) 2014 André Fillipe O. Silva [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.