I'm trying to choose multiple options from one chooser in netlogo. Does anyone know if that is possible and if it is how to do it?
One possibility is to use the eXtraWidgets (xw) extension, which allows you to define multichoosers like this:
A few words of warning:
The extension only allows you to put that kind of widget on a separate interface tab.
The extension is fairly powerful, but there is a bit of a learning curve to it: widgets need to be declared programmatically, you can't just drop them on the interface.
As of today, the 6.x version of the extension is still in beta. The author has had limited time to iron out all the kinks.
I am the author of the extension.
If xw doesn't meet your needs, you can most likely achieve what you want by using a series of switches, like this:
It's not quite as pretty and convenient, but it can get the job done.
Related
Yes, I'm beginner. and I used Webstorm but now using Vscode.
I know to say 'extension' in Vscode.
But sometimes to say 'plugin' in Vscode.(ex. Do you know Vscode's Prettier plugin?)
Can others understand this?
I understand it like this Python's pip and Node's npm to understand.
Just different name.
Is that what I understand right?
There is very thin border line between the two.
Extension and plugins often confused people. And Mostly people believe both are same.
The main difference between the two is that plug-in provides extra functionality which does not modify the core functionality.
While extension is made for modifying core functionality, may be provided due to version change or improvement.
Securing plugins is more complex than extension.
Extension are individual identity so one extension needs one set of privileges, whereas plugins are more complicated and needs to identify privileges for each application runs plugins rather than a whole plugin.
Extension is specific to particular application. It extends functionality of a particular application or software.
While plug-in can be made generalized which may runs independently in coordination with particular application or software.
Okay, I know the title is not very clear, but is hard to describe what I need, so I'll try to describe it better:
I use a lot of programming languages due to my studies at the university, and my favorite editor is visual studio. The problem is, I don't want to overload it with a lot of active extensions at the same time. Therefore, the idea I came up with is an extension that creates "sessions" (or something like that) depending on what programming language I want to use. For example, imagine I want to use python, then I'd turn on an option which will enable the extensions needed for python and it will disable the remaining ones.
I can't find any similar extension on Google, I don't know if I am using the correct keywords for that, though. So, if you know of something that will help me, let me know please.
My question revolves around how to get behaviours described by a node-based editor to map to actions in-game. I've searched for several weeks about how to do this but can't find anything. If anyone could point me in the right direction, I'd be really grateful!
I don't know the best way to ask this question - I don't want to overload the question with what I've done, so I'll elaborate a bit below, as best I can:
I currently have a custom node-based editor I wrote for Unity, which I use to graphically edit the behaviour of bosses and NPCs. It looks like this (with the right-click menu shown):
I did find a way to get this behaviour working in-game, but it feels wonky and I'm wondering if there's a better way.
The way it works is there are two objects to be serialized per node object. I currently have these setup as scriptable objects, though if I were to do this again I'd create my own kind of serialization. These two objects are:
The Node in the editor window, containing editor scripts
The associated in-game action, to be loaded by the NPC at runtime
This creates a bit of mess in the file structure, as well as the amount of script files I need. On top of this, it's a bit tricky to manage cases where multiple actions are being performed simultaneously, and I need to change the NPC's state (e.g. phase1 to phase2 of a boss fight), which sounds to me like a design issue.
I'd be happy to share source code or more screenshots, if at all necessary. What I'm looking for is a way to approach something like this in a structured way that allows scalability for other projects (e.g. NPC behaviour for an RTS)
I'm developing an Eclipse RCP application (3.x), which also provides extension points. Up to now, I've simply created a new schema for the extension points, since they are linked to specific application functionalities.
Now, however, I'd like to provide an extension point for new editors. I'd like to use the existing org.eclipse.ui.editors, and enhance it with some application-specific behaviour, such as providing a class different from IEditorPart that needs to be inherited from.
Is it possible to re-use the org.eclipse.ui.editors extension point in another fashion than just copy-and-pasting its .exsd file, and changing it?
No you can't change existing extension points.
There is a huge amount of code behind the org.eclipse.ui.editors extension point so trying to reproduce this is a big task.
I think you would be better creating additional extension points for your additional functionality in the same way that the Java editor adds new extension points (such as org.eclipse.jdt.ui.javaEditorTextHovers)
I would like to access a Redmine taskbase via a simple text based interface - wondering what the shortest path would be (minimum investment/development).
Right now, this boils down to 2 use cases/phases:
Import a batch of tasks into Redmine from simple, wiki-based, bulletted TODO list, ie. plain text content. This is more of a one-off task, so a quick and dirty solution would be fine.
Later, some smooth two-way synchrosation would be great.. E.g. edit loads of tasks via some friendly plain text (or XML) in an editor, or scripting where I could manipulate all of them with simple text processing; then synchronise with Redmine and commit them back.
Any ideas on the easiest way to achieve these?
I'd prefer an external solution (i.e not touching the server), especially for the one-off import case; something like a neat IDE/editor/client, or a standalone Ruby script (e.g using the RM API).
If an appropriate RM plugin would be available, I would not resist giving it a try (can get root access from our lovely IT support:)..
Current ideas:
Emacs/Org-mode, looks like a great combination of a cool task manager UI and full plain text power. It seems rich enough to capture tags, states as well. This artice looks promising Orgmode and Roundup: Bridging public bugtrackers and local tasklists, although not exactly a perfect match.
org-mode parser in Ruby, could be used in an script with redmine-api access, or - worst case(for me, right now)- in newly developed RM plugin.. This looks like a good start: org-ruby
export RM->XML, process file, import XML->RM... not sure if this is supported?
I guess it's always possible to talk to the DB directly, but I'd prefer to avoid that.
Actually, I'm also interested a similar solution for Bugzilla.
At the simplest level, you could write a RM/Rails plugin that parses an Org-Mode task list, updating corresponding issues in the RM Model.
Equally, you can build a view for Redmine (again as a Rails plugin) to generate an org list of the current (or subset of) issues.
For Bugzilla I think you would be best off using the XML-RPC interface to do your issue comparison/update sync, so you'd have to take a very different approach from Redmine.
If you have any specific questions, please update your question, it's quite broad at the moment.
Update
At the moment, there are a few plugins which will probably help you figure out your solution, for example Nick Boltons xml import and Martin Liu's Redmine CSV Import Plugin but neither of these are going to completely solve the problem for you, just give you some useful starting point.
On the other hand, If you write a script that interacts with Redmine's REST api, you don't need it to be in any specific lanugage, in fact you could do it in Emacs-lisp, if the target users of the script are all Emacs aware, then this might well be the best way to do the job. (it would certainly be the most appealing option to me.)
Maybe this can be useful: https://github.com/fukamachi/redmine-el