kate treeview plugin

Text Editors

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Last changelog:

Added bookmark support (bookmarkManager based on the filesystem plugin)

Keep the opened files selected in the treeview selectionModel (from the Batiste Bieler tree plugin)


Ratings & Comments

8 Comments

haumann

This plugin should not be needed anymore. The file system browser plugin in Kate supports a tree view now, just like this example.

batiste

"This plugin should not be needed anymore. The file system browser plugin in Kate supports a tree view now, just like this example." Nop it's not true, this plugin is better in some way that the current tree. The possibility to have all the opened files highlited is pretty nice and unique.

somekool

I wish I could get a package for Kubuntu. thanks.

pavonic

I can't compile the plugin. I tried with the following CmakeLists.txt: Quote:

set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ) # search packages used by KDE find_package(KDE4 REQUIRED) # The FindKDE4.cmake module sets _KDE4_PLATFORM_DEFINITIONS with # definitions like _GNU_SOURCE that are needed on each platform. set(CMAKE_REQUIRED_DEFINITIONS ${_KDE4_PLATFORM_DEFINITIONS}) add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} ${KDE4_KPARTS_DEFINITIONS}) include_directories (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES} ${KDE4_KPARTS_INCLUDES}) set (katetreeviewplugin_PART_SRCS katetreeviewplugin.cpp katetreeview.cpp katetreeviewtoolbar.cpp katetreeviewbookmarkowner.cpp ) kde4_add_plugin (katetreeviewplugin ${katetreeviewplugin_PART_SRCS}) target_link_libraries (katetreeviewplugin ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBRARY} ${KDE4_KPARTS_LIBS}) install (TARGETS katetreeviewplugin DESTINATION ${PLUGIN_INSTALL_DIR}) ########### install files ############### # install( FILES ui.rc DESTINATION ${DATA_INSTALL_DIR}/kate/plugins/kateexternaltools ) install (FILES katetreeviewplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
and I obtain the following link error: Quote:
$~/ftp/katetreeview$ make Generating moc_katetreeview.cpp Generating moc_katetreeviewbookmarkowner.cpp Generating moc_katetreeviewplugin.cpp Generating moc_katetreeviewtoolbar.cpp Generating moc_katetreeview.cpp Generating moc_katetreeviewbookmarkowner.cpp Generating moc_katetreeviewplugin.cpp Generating moc_katetreeviewtoolbar.cpp [ 20%] Building CXX object CMakeFiles/katetreeviewplugin.dir/katetreeviewplugin_automoc.o [ 40%] Building CXX object CMakeFiles/katetreeviewplugin.dir/katetreeviewplugin.o [ 60%] Building CXX object CMakeFiles/katetreeviewplugin.dir/katetreeview.o [ 80%] Building CXX object CMakeFiles/katetreeviewplugin.dir/katetreeviewtoolbar.o /home/pavonic/ftp/katetreeview/katetreeviewtoolbar.cpp: In constructor ‘KateTreeViewToolbar::KateTreeViewToolbar(QWidget*, Kate::MainWindow*, KateTreeView*)’: /home/pavonic/ftp/katetreeview/katetreeviewtoolbar.cpp:67: warning: unused variable ‘m_bookmarkMenu’ [100%] Building CXX object CMakeFiles/katetreeviewplugin.dir/katetreeviewbookmarkowner.o make[2]: *** No rule to make target `/build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/lib/libkdecore.so', needed by `lib/katetreeviewplugin.so'. Stop. make[1]: *** [CMakeFiles/katetreeviewplugin.dir/all] Error 2 make: *** [all] Error 2
How can I solve the problem? Thanks, Cristian

kmswic

but still no luck. I read the comments for your other project, pasted a few lines into CMakeLists.txt (sorry, but why aren't they there by default?), installed kde -devel packages, and finally, it compiles, but fails to link: Linking CXX shared module lib/katetreeviewplugin.so CMakeFiles/katetreeviewplugin.dir/katetreeviewplugin_automoc.o: In function `KateTreeView::qt_metacall(QMetaObject::Call, int, void**)': /home/konrad/Desktop/katetreeview/moc_katetreeview.cpp:72: undefined reference to `QTreeView::qt_metacall(QMetaObject::Call, int, void**)' CMakeFiles/katetreeviewplugin.dir/katetreeviewplugin_automoc.o: In function `KateTreeView::qt_metacast(char const*)': /home/konrad/Desktop/katetreeview/moc_katetreeview.cpp:67: undefined reference to `QTreeView::qt_metacast(char const*)' .......... ....and so on, and so on. If you find a minute, could you give me a hint at what I'm doing wrong? I'd really love to use this plugin :) Otherwise, I think I'll use Quanta (3) just for the treeview...

kmswic

This is exactly what I want, but it seems I don't know how to build it. Using "cmake ." returns : CMake Error at CMakeLists.txt:8 (kde4_add_plugin): Unknown CMake command "kde4_add_plugin". Do I need to set up a KDE4 development environment and build KDE4 from source just to use this, or can I just build it and add it to my KDE 4.1 installation? If the latter is possible, what would be the next step? Any help would be appreciated.

voonte

Great plugin, I prefer it over the default filesystem browser plugin.

knuckles

This should definitely be included upstream.

Pling
0 Affiliates
Details
license
version 0.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Text Editors from jgoday:

kate tabbar plugin
jgoday
last update date: 17 years ago

Score 5.7

kateListFiles plugin
jgoday
last update date: 17 years ago

Score 5.0

Other Text Editors:

klat
jori
last update date: 21 years ago

Score 5.0

ktexteditor-yankbuffer
metallman
last update date: 19 years ago

Score 5.0

CUTE
heiko
last update date: 21 years ago

Score 5.0

LogDay
Zarahk
last update date: 19 years ago

Score 5.0

katedataedit
pradu
last update date: 18 years ago

Score 5.0

ktexteditor-key-recorder
jo-link-noir
last update date: 10 years ago

Score 5.0



System Tags