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 68
  • Win 53
  • OS X 7
  • Linux 8
Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 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 0 0 0 0 0 0 0 1 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 0 0 0 0 0
Linux 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 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.