Added bookmark support (bookmarkManager based on the filesystem plugin)
Keep the opened files selected in the treeview selectionModel (from the Batiste Bieler tree plugin)
kate tabbar plugin
jgoday
Source i (link to git-repo or to original if based on someone elses unmodified work):
Added bookmark support (bookmarkManager based on the filesystem plugin)
Keep the opened files selected in the treeview selectionModel (from the Batiste Bieler tree plugin)
* Works with pling-storeor ocs-url
More Text Editors from jgoday:
Other Text Editors:
© 2025 xfce-look.org - Eyecandy for your XFCE-Desktop
All rights reserved. All trademarks are copyright by their respective owners. All contributors are responsible for their uploads.
Ratings & Comments
8 Comments
This plugin should not be needed anymore. The file system browser plugin in Kate supports a tree view now, just like this example.
"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.
I wish I could get a package for Kubuntu. thanks.
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
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...
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.
Great plugin, I prefer it over the default filesystem browser plugin.
This should definitely be included upstream.