ProjectViewer: How to add a certain file?
Submitted by
Axel on
Thursday, 27 January, 2011 - 11:07
Hello,
how can I add a certain file to ProjectViewer?
Up to jEdit4.3pre18 & ProjectViewer 2.1.3.7 I pasted the file path into "Add Files from VFS" for getting the file listed in the ProjectViewer.
But now, with jedit 4.4 & ProjectViewer 3.1.0, "Add Files from VFS" seems to have disappeared and I can't find a way to add a certain file (besides those, which are created as "new"). - How do you do this?
If I remember right, I had the the same problem even with jedit 4.3.2, stable release.
Axel
Doesn't work:
Windows XP
jedit 4.4 Java 1.6.0_07
ProjectViewer 3.1.0
This works:
Windows XP (same system as above)
jedit 4.3pre18 Java 1.6.0_07
ProjectViewer 2.1.3.7
External Browser Command for MAC
Submitted by
mj3dvfx on
Tuesday, 1 February, 2011 - 05:17
Hello everyone.
I'm brand new to using jEdit and have been slowly but surely setting things up. I recently ran into an issue trying to setup my InfoViewer plugin
to call an external browser (firefox) for my Maya Editor Display Docs menu item. I'm on a mac and have looked for examples both here and randomly
on the internet, but haven't seen anything that can help.
I open up jEdit, go to Plugins, choose Plugin Options, switch my browser options to External Browser and for the External Browser Command I type in the
path to where the firefox application lives - Macintosh HD/Applications/Firefox.app. When I go to Plugins >> Maya Editor >> Display Docs I keep getting
this following error or some variation thereof.
------------------
An Exception occured while starting the browser:
java.io.IOException: Cannot run program "Macintosh": error=2, No such file or directory
The command was:
Macintosh
HD/Applications/Firefox.app
file:/Macintosh HD/Applications/Autodesk/maya2011/docs/Maya2011/en_US/Commands/null.html
------------------
Maybe I'm not putting in the proper path naming convention for mac or something, but If anyone can point me in the right direction on how to fix this issue I would greatly appreciate it.
Thanks in advance.
how to make a literal1 with same color
Submitted by
urih on
Wednesday, 2 February, 2011 - 14:47
Hi there,
I use perl mode and see that a line which looks like:
print "\n\nEND !!! sleep $date print \n\n";
gets a pink color inside the " (quote) chars.
inside this quotes "$date" which is a perl keyword has a different color as defined in the rest of the code.
how is it possible to tweak this behavior so everything inside the string "....." is in the same highlight?
thanks
uri
Number padding
Submitted by
akovia on
Wednesday, 2 February, 2011 - 19:06
Hi,
Wanted to find an easy way to pad line numbers. I am using the numbering lines macro, and wanted to know how hard it would be to add an option to add padding, and possibly an input box to format the result with brackets or other symbols. I am not a programmer but am able to do what I want each time via regex. Just looking for an easier way. Reading over the beanshell help, it looks to be a little more than I could handle without some help.
Thanks,
Ako
Search and Replace EVERY 2nd occurrence i.e. alternate occurrences
Submitted by
highab on
Thursday, 3 February, 2011 - 10:45
Hi, I'd like to be able to search and replace paragraph marks (\n) with tab marks (\t) for every other line down to the end of a document, effectively merging two lines into one with a tab in between.
thus turning
term1
term2
something else 1
something else 2
into
term1[tab]term2
something else 1[tab]something else 2
this is the code I have so far
SearchAndReplace.setSearchString("\\n");
SearchAndReplace.setReplaceString("\\t");
SearchAndReplace.setBeanShellReplace(false);
SearchAndReplace.setIgnoreCase(true);
SearchAndReplace.setRegexp(true);
SearchAndReplace.replace(view);
SearchAndReplace.setSearchString("\\n");
SearchAndReplace.setBeanShellReplace(false);
SearchAndReplace.setIgnoreCase(true);
SearchAndReplace.setRegexp(true);
SearchAndReplace.find(view);
but if I put it into a loop for textarea number of lines, it replaces ALL occurrences of \n and not every other one.... I'm stumped.
Anyone have any ideas please?
Combining/sequencing macros
Submitted by
highab on
Thursday, 3 February, 2011 - 10:49
I have three macros to run one after the other (or combine into one if I can)....
macro 1: populate hypersearch window with results of search for text between specific tags (and the tags)
macro 2: copy the text from the hypersearch window to a new buffer
macro 3: delete the tags and the superfluous bits
if I run them manually they do what I want. If I try to combine them or call them from a fourth macro that just calls them, they don't work right... I think they try to run at the same time rather than waiting for the previous one to finish ("node has no children". How do I get around this please?
Explore Directory for ProjectViewer (Explore_Directory.bsh v1.0 by David Koenig)
Submitted by
Bargle on
Saturday, 5 February, 2011 - 21:41
This macro will bring up the default platform file manager if called on a directory from the ProjectViewer plugin. As noted in the java.awt.Desktop API documentation; On the Solaris Operating System and the Linux platform, this API is dependent on Gnome libraries.
HTML 5 tags like 'header', 'nav', 'article' marked as errors, HTML 5 DOCTYPE doesn't work
Submitted by
zapyon on
Tuesday, 8 February, 2011 - 15:38
Hi.
I am currently playing arround with HTML 5 and CSS 3, checking out their new features, and, of course, using jEdit for this.
When I use the new DOCTYPE definition of HTML 5
<!DOCTYPE html>
jEdit marks almost everything as bad XML/HTML.
If I use the old style
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
the old tags are recognised, but the new ones introduced with HTML 5 still get marked as errors, e.g. the ones mentioned in the subject line.
How can I setup jEdit in a way that it correctly accepts all HTML 5 tags and understands that new DOCTYPE definition, too?
I am currently using these jEdit plugins:
Accents
Beauty
Common Controls
Console
ErrorList
FTP
GnuRegexp
JDiff Plugin
Jakarta Commons
Jython Interpreter
Project Viewer
PythonClient
RETest
Sessions
ShortcutDisplay
SideKick
Templates
TextTools"
VoxSpell
WhiteSpace
XML
XSLT
XercesPlugin
Regards
Andreas
PS: I had to write this post twice. The first time, I had written the tags with their < and > and simply copied the plugin list from a saved plugin set file. When sending the post, I got a message the post was rejected and when going back to the previous screen in the browser, the post was lost. NOT NICE! Please warn before sending or enable editing the original text, or even offer an option to add HTML/XML text where required, in a form that is no security hazzard.
Has anyone gotten Clearcase plugin to work with Jedit 4.3.2?
Submitted by
stantonio on
Tuesday, 8 February, 2011 - 20:37
Has anyone gotten Clearcase plugin to work with Jedit 4.3.2?
I was using this plugin fine with 4.2 and now it doesn't seem to work and get error at startup.
The error is :
Cannot start: java.lang.NoSuchMethodError: console.Shell.registerShell(Lconsole/Shell;)V
9:12:23 AM [main] [error] ErrorListDialog$ErrorEntry: Try updating to a newer version of the plugin.
PicASM PIC12X Edit Mode (assembly-pic12x.xml v1.0 by Brad Normand)
Submitted by
bradn on
Thursday, 10 February, 2011 - 00:48
Edit mode supporting PicASM syntax for PIC12X 12 bit instruction length series chips.
Specifically, this was developed with 12C508 to 12CE519 chips in mind, but is easily adaptable to other PIC microcontrollers. If anyone feels like enhancing this edit mode, go ahead and upload it!
Supports numeric literals in forms like 0xABC123, 0ABC123h, 01010101b, 42d, 01234567o.
Please remember to create an entry in the modes/catalog file or this edit mode won't show up!
How to jump to column #nnn?
Submitted by
tobi_h on
Monday, 14 February, 2011 - 12:41
Good day all,
I see how I can jump to a certain line in a document, but how can I jump to a column in such a line?
I have searched quite some time but found nothing...
Thx in advance for your time to comment,
greets, tobi
Some information about plugins more used
Submitted by
tonimenen on
Monday, 14 February, 2011 - 21:43
Hello everybody,
I think it could be very interesting to have the chance to sort the plugins by the number of downloads of each plugin, in that way it is possible to know which are the best pluggins to use by the community.
EclipseIcons download broken
Submitted by
weberjn on
Wednesday, 16 February, 2011 - 11:57
Hi,
when I try to download
http://plugins.jedit.org/plugins/?EclipseIcons
winrar complains that the archive ist broken:
! C:\Programme\Java\temp\EclipseIcons-1.0-6.zip: Unerwartetes Archivende
(unexpected end of archive)
XML plugin depends on this.
Missing Docking Menus on Plugin Windows?
Submitted by
andrewleer on
Friday, 18 February, 2011 - 04:20
http://superuser.com/questions/247038/missing-docking-options-in-jedit
Thank you,
Andrew J. Leer
ProjectViewer question
Submitted by
ronw on
Sunday, 20 February, 2011 - 08:55
I assume I overlooked something (new to jEdit), but when I added a new project, even after explicitly selecting it, it would not appear in the dockable window's Folder, File or Compact File listings until after I quit then restarted jEdit.
I am using jEdit 4.3.2 with ProjectViewer 3.0.1 on Windows XP SP3.
where does sidekickctags hide the ctags file?
Submitted by
ronw on
Wednesday, 23 February, 2011 - 17:02
I have looked many places to find the ctags generated by sidekickctags and can't find it. I would like to use those ctags files with the Tags extension since it provides some features that sidekick does not, but requires manually running ctags, so I was hoping I could just point it at the ones made by sidekickctags.
SQL Editor to highlight syntax
Submitted by
hillman on
Thursday, 24 February, 2011 - 02:37
Folks, I am new to JEdit and operate off of my personal Mac book (in the corporate world I use Windows and it's set of tools). I have a need to write SQL on my Mac and would like an editor to highlight syntax statements for Oracle for example. I do not see a plug-in indicating SQL, what am I missing?
Thanks.
changing actions associated with menu-bar menu items
Submitted by
ronw on
Saturday, 26 February, 2011 - 04:04
I figured out writing macros to run ctags on a file when it is saved or closed with pending changes. I found where I can re-assign actions to tool-bar items, and to context menu items, but I can't find any way to re-assign actions in menu-bar menu items to use my macros.
I assume I am overlooking something.
Automatic formatting for CSS
Submitted by
tp200 on
Saturday, 26 February, 2011 - 20:02
We work on CSS with a group of people. Some like CSS in this format:
.style{width:100px;height:300px;float:left}
.style2{width:500px;height:10px;float:right}
Others like this:
.style {
width:100px;
height:300px;
float:left;
}
.style2 {
width:500px;
height:10px;
float:right;
}
(this format should preferable even have indenting, which I can not type in this forum)
Is there a way to toggle this switch in jEdit, so that each programmer just hits a key and switches the formatting?
Thanks!
Marks are not saved properly
Submitted by
fstephens on
Monday, 28 February, 2011 - 17:45
I have a constant problem with the marks for a buffer being wrong.
They seem to be shifted to random lines. This does not seem to be related to adding/removing lines in the text area.
Is there a solution to this, or at least a way to easily re-mark all functions?