ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Unnatural

by andref ST2/ST3

Software AG Natural package for Sublime Text.

Details

Installs

  • Total 48
  • Win 37
  • OS X 6
  • Linux 5
Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 2 1 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Unnatural: Natural (Software AG) Sublime Text Package

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 inifinitesimally diminish your suffering.

Installation

Use the Sublime Text Package Manager to install “Unnatural” or download the package and copy it to your package folder (Preferences → Browse Packages…).

Features

Version 0.2.2

  • Now available through Package Control
  • Improve how some code snippets are triggered

Version 0.2.1

  • Just minor changes.

Version 0.2.0 — Oops

  • 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

Version 0.1.1

  • 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

Version 0.1.0

  • 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

In the works

  • 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 and read
  • 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” 😏

License

The MIT License (MIT)

Copyright © 2014 André Fillipe O. Silva andre@filli.pe

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.