|Did you know ...||Search Documentation:|
|Pack logtalk -- logtalk-3.11.2/coding/atom/NOTES.txt|
This file is part of Logtalk http://logtalk.org/ Copyright 1998-2017 Paulo Moura <firstname.lastname@example.org>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ________________________________________________________________________
Atom is a multiple platform text editor available from:
Atom supports converting TextMate language bundles into language support packages. The conversion process is described at:
The following shell command can be used:
$ apm init --package ~/.atom/packages/language-logtalk --convert $LOGTALKHOME/coding/textmate2/Logtalk.tmbundle
apm command is not available, you can install it by selecting Atom's
menu option `Install Shell Commands`.
In alternative, a third-party maintained converted bundle is readily available from:
Several Atom packages can be useful for Logtalk development. Those include:
process-palette.jsonfile defines commands for compiling a file from within Atom allowing clicking on warnings and errors and jump to their location, for scanning for dead code, and for generating HTML documentation. For using these commands, install the
process-palettepackage and replace or merge the contents of the file with default file found at `~/.atom`. If no `~/.atom/process-palette.json` file exists just copy the provided file to `~/.atom`. Customization of this file is usually required to select your preferred Prolog backend and keyboard shortcuts. The package settings may also need to be edited to select the shell to be use (notably, on Windows, a Bash shell must be specified; e.g. the Bash shell provided by Git for Windows).
atom_ctagsBy installing this package and the Logtalk ctags support (see `../ctags`), it is possible to use Atom's `Command Palette` to index and browse Logtalk code.
atom-html-previewOne of the packages that allows convenient rendering of HTML files, including those generated for API documentation of Logtalk code.
Logtalk source files (including the library entities and the programming examples) are formatted using tabs (the recommended setting is a tab width equivalent to 4 spaces); you may set the tab width on the editor preference panel.