Questions tagged [dltk]

DLTK (Dynamic Languages Toolkit) is a tool for vendors, researchers, and end-users who rely on dynamic languages.

DLTK (Dynamic Languages Toolkit) is a tool for vendors, researchers, and end-users who rely on dynamic languages. DLTK is a set of extensible frameworks designed to reduce the complexity of building full featured development environments for dynamic languages such as PHP and Perl. Besides a set of frameworks DLTK provides exemplary Tcl, Ruby, Javascript and Python development environments.

31 questions
1
vote
1 answer

How do you add a ruby file to an existing project in Eclipse 3.6 using the Dynamic Languages Toolkit (DLTK)?

I've installed the Dynamic Languages Toolkit (DLTK) in Eclipse 3.6. But I can't figure out how to create a Ruby file in an existing Java project. Doing the obvious thing (New -> Empty Ruby Script) just gives the error message "Source folder is not…
James Moore
  • 8,636
  • 5
  • 71
  • 90
1
vote
1 answer

Eclipse with DLTK plugins for tcl, has multiple "Run Configurations"

Since setting up Eclipse with the DLTK plugins for TCL (from a fresh install) I've noticed that every time I attempt to 'run' or 'debug' I'm prompted to choose a run configuration. These are listed as 'Tcl Script' and 'Tcl Testing'. The run…
Tim Kane
  • 2,599
  • 3
  • 20
  • 19
1
vote
2 answers

Understanding ruby modules

I am new to Ruby, using eclipse, DLTK ruby plugin and Ruby 2.0. I created an Ruby module file called AModule.rb which has the code: module AModule aConstant = 7 end This is called from a test ruby script in the same project: require…
sid smith
  • 533
  • 1
  • 6
  • 18
1
vote
1 answer

DLTK TCL Project importing problems

I am having problems importing the TCL-DLTK project into my IDE (Eclipse). I did clone the git repo, but I get warnings and errors on imported projects : On org.eclipse.dltk.tcl.activeStateDebugger Project, I get the warning Discouraged access:…
user3488996
  • 1,339
  • 2
  • 10
  • 13
0
votes
1 answer

Eclipse DLTK: JDT-like behaviour of parsing and managing files in a project

i'm developing a plug-in for eclipse using the DLTK framework. This question was asked on the official mailing list but is unanswered yet, so i want to make it more public. in my DLTK plug-in, as for now, files are only parsed when the editor is…
zhujik
  • 6,514
  • 2
  • 36
  • 43
0
votes
1 answer

Are Ruby keyword arguments supported by Eclipse's dynamic languages toolkit?

I have Ruby code that uses "keyword arguments" like so: def run_cmd(command, arg1: true, arg2: nil) ... end When I run the code, it works as expected, but my IDE doesn't seem to know how to interpret this. It renders the formatting of my entire…
Dasmowenator
  • 5,505
  • 5
  • 36
  • 50
0
votes
0 answers

Turn off list expansion {*} error in eclipse DLTK for TCL

We have some code that involves list expansion. When I use eclipse with the DLTK plugin I get the list expansions marked as error. Does anyone know a way to turn this off other than turning off error annotation completely like this answer?
Manziel
  • 173
  • 1
  • 9
0
votes
0 answers

Eclipse Photon and Ubuntu 18.04 - DLTK indexing not working

I'm on Ubuntu 18.04 with JAVA openjdk 10.0.2 and Eclipse Photon (PHP edition). DLTK Indexing seems to not work properly: If I put my pointer on a PHP function , I have all documentation from PHP doc. But if I put the pointer on any other functions…
enuts
  • 1
  • 3
0
votes
1 answer

disable eclipse validators

I do have a project which includes ZF library. In the problems tab I get all the warnings from the Zend library. My problem is that I want to hide all that. I've tried adding Exclude Group settings and rules for HTML for PHP validator and even I've…
Elzo Valugi
  • 27,240
  • 15
  • 95
  • 114
0
votes
1 answer

ruby splat operator compilation error in eclipse but runs fine on command line

I have the following ruby script ruby_test.rb in eclipse (DLTK/RUBY), which throws a compilation error and I am not able to run in eclipse. This makes sense since *arr should be the last parameter. But when I run it on command line (ruby…
North
  • 21
  • 4
0
votes
1 answer

Java ASTNode Visitor for RUBY parser DLTK

I searched high and low and can't seem to find the answer or any examples. I am using Java ruby DLTK I want to parse a string that has Ruby source code (.rb file). I am using it this way: JRubySourceParser jRubyParser = new…
grassJava
  • 43
  • 6
0
votes
1 answer

DLTK indexing and refreshing editor

I have created a plugin for a new language and used DLTK for indexing and searching feature. I am using Eclipse Luna (PDE 3.10.1) and DLTK (5.0) My question is: How can I manually re-index a file and refresh the editor when I switch between…
0
votes
1 answer

Ruby + Eclipse + "Dynamic Languages Toolkit for Ruby" plugin

I installed Dynamic Languages Toolkit for Ruby plugin in eclipse and it is not working: Details: Eclipse version: Eclipse 4.2.2 OS Details: Ubuntu 10.04 Ruby version: ruby 1.9.2p180 THis is my ruby code: # cat array.rb #!/usr/bin/ruby require…
slayedbylucifer
  • 22,878
  • 16
  • 94
  • 123
0
votes
1 answer

eclipse share common index

Is there a way to have an eclipse project use a common index? So far, I have a dozen Magento repositories that all pretty much have the same code base, but are separate projects and separate Magento web sites for separate clients. There are…
user439441
0
votes
1 answer

eclipse remote project with sftp - dltk indexing results in 'no more sessions' error

I am running a virtualbox with debian installed as local webserver. I am working with eclipse directly on that virtual box with a remote project (RSE plugin). I am having the problem that eclipse starts the DLTK-indexer as soon as I open the…
david
  • 1
  • 3