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

Unnatural

by andref ALL

Software AG Natural package for Sublime Text.

Details

Installs

  • Total 164
  • Win 116
  • Mac 26
  • Linux 22
Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7
Windows 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
Mac 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 0 0 0 0 0
Linux 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 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 infinitesimally 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.