[Logo] LUA Форум
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
LuaIDE  XML
Forum Index » LUA: Общие вопросы
Author Message
B4rr4cuda
Постоянный посетитель
[Avatar]

Joined: 14/01/2008 14:58:13
Messages: 48
Offline

Под Windows найти IDE не составляет труда. А вот счастливым обладателям никсов придется немного повозится.
Как вариант - vim\gvim.
Мощьнейший редактор, который "легким движением руки превращается..." в IDE.
При условии, что сам вим уже освоен, иначе в командной строке и учимся.

Идем по ссылке на vim.org и получаем 6 скриптов для вима:
1. matchit.vim script
The matchit.vim script allows you to configure % to match more than just
single characters. You can match words and even regular expressions.
Also, matching treats strings and comments (as recognized by the
syntax highlighting mechanism) intelligently.

На любителя. Освоив, навигация по коду будет быстрей.
download page

2. The NERD Commenter
A plugin that allows for easy commenting of code for many filetypes.

Крайне полезный плагин. Один раз настраиваем и забываем, что такое комментирование вручную.
download page

3. ShowFunc.vim
Creates a list of all tags / functions from a window, all windows or buffers.
This script creates a hyperlink list of all the tags (i.e. functions, subroutines, classes, macros or procedures) from a single buffer, all open windows or buffers and displays them in a dynamically sized cwindow.

Маст хэв. Без ориентации по коду далеко не уедешь.
download page

4. FeralToggleCommentify.vim
This script offers simple, basic, line oriented commenting of files.

Не пробовал. Мне, за глаза, хватило The NERD Commenter-а.
download page

5. luarefvim
This a Vim help file containing references for Lua 5.0 and 5.1, and it is -- with a few exceptions and adaptations -- a copy of the Lua 5.0 and Lua 5.1 reference manuals.

Встроенный хелп. Маст хэв.
download page

6. lua-support
insert various types of comments
- insert complete statements (e.g. 'if then else end' )
- insert often used code snippets (e.g. empty function, open file)
- read, write, maintain your own code snippets in a separate directory
- run scripts or run syntax check from within the editor
- show compilation erros in a quickfix window; navigate with hotkeys

И самый главный скриптик, благодаря которому vim таки превращается в IDE для Lua. Запуск скрипта на выполнение по Ctrl+F9 (Естественно все можно перенастроить). В случае ошибок будет открыт еще один буфер.
Если пользуем gvim, после установки этого плагина, добавляется меню Lua. Можно ознакомиться с функциями перед навешиванием на хоткеи.
download page



Предлагайте ваши варианты.
sarjsheff
ГУРУ
[Avatar]

Joined: 11/01/2008 23:09:00
Messages: 131
Location: Moscow
Offline

Лучше SciTE редактор не найти. Встроенная поддержка LUA, поддержка винды и никсов.
http://www.scintilla.org/SciTE.html
http://scite.ruteam.ru/
B4rr4cuda
Постоянный посетитель
[Avatar]

Joined: 14/01/2008 14:58:13
Messages: 48
Offline

Как ни странно, я такого же мнения о виме . Но не будем разводить флейм.

Yzis a vi-like editor inspired by vim. Yzis aims to be a powerful, fast editor with all of Vim's features and hopefully, at some point, more.

In Yzis, the core editing engine is placed in a library that does not depend on any GUI library. On top of it, GUI frontends are developed. The goal is to make vi-like editing capabilities available to many graphical applications.

As of now, there are frontends for Qt and NCurses. A KDE 4 frontend has been started, to have Yzis embedded in KDevelop or Kate. A Gtk frontend was started but is currently unmaintained.

If you want to know more about Yzis origins, check the History page.

Yzis is developed in C++, with the Qt4 core . Qt is only used for non graphical objects (lists, unicode handling, XML parser, ...). Other GUI frontends such as Gtk, XUL or MFC would be welcome. Scripting is available through the Lua script language. Syntax Highlighting has been borrowed from the KDE editor Kate.

Конфиги, скрипты для этого редактора на Lua.
http://www.yzis.org
seiken
Новичок

Joined: 07/02/2008 21:31:59
Messages: 1
Offline

Здравствуйте!

Ещё есть lua-mode для emacs. В Ubuntu (и, видимо, в Debian тоже) она, по аналогии с остальными режимами для emacs, лежит в пакете lua-mode.

далее добавляем нужные строки в ~/.emacs в соответствии с инструкцией и вуаля... получаем подсветку синтаксиса, индентацию и буфер для интерпретатора. Мне лично пока ничего большего и не надо.
oboltus
Новичок

Joined: 18/04/2010 16:09:03
Messages: 18
Offline

Здравствуйте.
В редакторе Geany есть модуль Lua, подсветка и запуск скриптов Lua.
Strijar
ГУРУ

Joined: 08/02/2008 21:28:09
Messages: 259
Location: СПб
Offline

oboltus wrote:Здравствуйте.
В редакторе Geany есть модуль Lua, подсветка и запуск скриптов Lua.


Спасибо! Оно умеет VHDL - давно такой ищу. А Verilog я ему сам добавлю

Лучше быть белым волком, чем серым человеком.
[WWW]
 
Forum Index » LUA: Общие вопросы
Go to:   
Powered by JForum 2.1.9 © JForum Team