Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [kate]

Kate (KDE Advanced Text Editor) is a text editor that is part of the KDE project.

0
votes
0answers
30 views

KATE GUI - KDE - How to insert date in KDE snippet script?

When running Kate snippets, I do not know how to use the date variable in a snippet. When I am trying to create a personal snippet where the current date can be inserted such as Snippet #A-1 <!--...
0
votes
0answers
77 views

Kate editor installing custom syntax highlighting files for older versions

I am, unfortunately, forced to work remotely with a remote machine which runs on a very old version of centos. I need to do some SystemVerilog coding. This machine is limited to an intranet and ...
0
votes
0answers
20 views

How to change the color of C++ comments in Kate

I'm using Kate with custom setup where I have dark background. My code is in C++. I have comments in my code. And comments are highlighted in electric blue. Since I have dark background, the color ...
0
votes
0answers
91 views

opening editors on files with invalid characters in them

In my use case, I have a lot of text files containing invalid characters. When I search through those files, e.g. grep "some text" /home/bla/blubb/* | xargs editor_of_your_choise I'm getting the ...
0
votes
1answer
152 views

insert current date into text document while editing it in Kate

I would like to insert the current date into an open Kate text document while editing it by using a shortcut key combination. I see several such options for Atom, but I don't find anything for Kate.
6
votes
1answer
103 views

Why does Kate replace spaces in filename with “%20”, thus preventing opening it?

I'm using the Kate editor ver 16.04.2 on live knoppix 7.7.1 on a usb stick. When I double-click on a normal text file in pcmanfm, Kate opens but it replaces the spaces in the filename with %20, and ...
0
votes
1answer
639 views

How to set default color and font schemes for different katepart applications

katepart is the base for many KDE editing tasks and I mostly use it 1) as the editing component of kile, the LaTex editor, and 2) as standalone kate or kwrite for editing text files such as HTML or ...
0
votes
0answers
208 views

E: Package 'kate' has no installation candidate

$ sudo apt install kate Reading package lists... Done Building dependency tree Reading state information... Done Package kate is not available, but is referred to by another package. This may ...
2
votes
1answer
135 views

What limits Kate text editor search feature?

I am fairly new with Kate, started to use it, because it's search feature shows the number of occurrences found. But now I found a problem with search. It works fine for few line files (few hundreds) ...
1
vote
0answers
13 views

kate: flickery line-number popup

Kate is showing line numbers in a popup box, like a tool-tip, when I scroll up or down. The box flickers when scrolling with touchpad / pointing stick, and I hate it. Can I disable it? Version: ...
9
votes
4answers
5k views

Ugly Horizontal Lines Displayed in Kate and Konsole with Fractional HiDPI Scaling

Here is a picture of the problem: Notice that all lines of text have horizontal lines similar to underlining. However, this is a plain text editor (Kate) and it does not do underlining. There is no ...
1
vote
0answers
36 views

Kate and indented comments

Is there a way to to configure Kate so that, when I use the Comment tool, it indents the comments to where the code is currently indented? For example, consider the following Ruby code. def ...
2
votes
3answers
262 views

Kate and case sensitive search

I've found several web pages that talk about how to set case sensitivity in searches in Kate. However, what I actually see on my screen doesn't match any of those pages. Here's a screen shot in which ...
2
votes
0answers
69 views

Scrolling behavior in Kate

On my system, one click of the scroll wheel on the mouse moves 3 lines. Kate seems to be scrolling based on 3 file-lines. Whereas something like Notepad++ in Windows scrolls 3 visible-lines (which ...
2
votes
1answer
417 views

Extend syntax highlighting for Markdown in Kate?

Is there a plugin/xml file or any way to extend the capability of Kate to highlight Markdown? I am really comfortable with Kate (using version 15.12.3) and I use it to write logs. For plain-text ...
0
votes
1answer
81 views

How to change background color of side panels of Kate using i3?

I'm struggling with applying solarized theme onto my i3 on archlinux. It works perfectly in terminals but I can't get to colour kate's side panels. Changing kate's inner configuration does not work ...
1
vote
0answers
132 views

Kate editor: how to define / add filetype filters in file dialogs?

I use Kate extensively. When opening and saving files, I would like to have several pre-defined options to filter by filetype (extension). In Arch Linux Kate only shows the "All Files" filter in file ...
1
vote
0answers
103 views

KDE5 kate wont open remote ssh location (fish) of currently opened file

Since moving to the new Linux Mint 18.1 the KDE version that comes with is KDE5. In KDE4 when using kate on a remote file using fish:// when asking to open another file it would have opened the ...
0
votes
0answers
48 views

Why does the context menu take forever to open in Kdevelop?

I'm running Kdevelop 4.6.0 on Linux Mint 17.3, Mate. I've tried other version of Kdevelop but they have the same issue. When you right click in Kdevelop to open a context menu, I can literally count ...
1
vote
0answers
67 views

fedora 24 - kate and texmaker appear zoomed

I just installed texmaker and kate in my fedora 24 system. The problem is that they appear "zoomed in" and they cannot function properly as the following picture shows However, I have a clue on ...
3
votes
0answers
1k views

Kate can't show some newline characters using escape sequences

Kate and KWrite both don't show all \n characters. Problems appear to be next to where there are empty lines. The problem isn't just in the highlighting itself. Wrong number of matches are found. ...
1
vote
1answer
1k views

Install Kate with Konsole Terminal plugin in Fedora23

I installed Konsole and then Kate in Fedora 23. How do I get the Konsole (Terminal?) plugin (I want to have a Konsole (or Terminal) window in Kate, at the bottom of the screen)?
5
votes
2answers
1k views

How can I tell which dictionary kate/KDE is using for spell checking?

I noticed that kate thinks that a particular word is spelled correctly, even though is it misspelled. When I check the word using aspell or enchant utilities, they both correctly identify it as being ...
2
votes
1answer
394 views

How to set default syntax highlighting in Kate

By default when a new document is opened in Kate, the highlighting is set to normal, i.e. none. Is there any way to change this behavior, with a result that when a new "untitled" document is opened C ...
0
votes
2answers
49 views

search string in files and replace it incrementally

I have a directory with 152 files named plot_1 to plot_152. In each of those there's some R code with some index [[i]]. Using Kateversion 15.08.2, is it possible to search for [[i]] in each file and ...
2
votes
1answer
3k views

How to reset Kate default color schemes?

I accidentally changed some of Kate's default color schemes. How do I set them back to default? I tried reinstalling (including with the option to remove config files) but it kept my changes.
2
votes
0answers
391 views

How to create a Kate highlight syntax to CSV files

I'm working with CSV files and I'm using vim because of the rainbow csv plugin that makes the editing easier: http://www.vim.org/scripts/script.php?script_id=4598 But I prefer using Kate and as I ...
1
vote
2answers
3k views

How do you search and replace multiple lines in KDE Kate?

how do you replace multiple lines of code in Kate? The following is the original text: <div id="image"> <br style="clear: left"/> <br style="clear: left"/> <br style="clear: ...
0
votes
1answer
735 views

Location of colorscheme-files in Kate

In Kate one can export file Fortran.katehlcolor which store the information about color in syntax-highlighting. The syntax-highlighting files itself are located in ~/.kde/share/apps/katepart/syntax ...
6
votes
2answers
4k views

How to change default syntax-highlighting for header-file in Kate

Often I have to open header-files (with ending .h) in Kate. The default syntax-highlighting with which these files will be opened is always C++. How could this be changed to Fortran so that I don't ...
2
votes
1answer
254 views

How to have Kate spell check ignore run together words?

I use Kate editor for scientific programming (Fortran, Python, matlab) and would like to leave spell check on, but have it automatically ignore words that have been run together to create a variable ...
0
votes
1answer
400 views

Why are my system preferences not saved when changing file associations?

Every time I open a .csv file it tries to open in LibreOffice Calc which I don't want it to, so I changed the default program to Kate, and it updates the system preferences. But then the next time I ...
2
votes
0answers
541 views

AsciiDoc syntax highlighting plugin for Kate?

I'm looking for a way to add AsciiDoc syntax highlighting to the Kate editor. I haven't found anything yet, but I feel sure some solution exists because AsciiDoc appears to be very popular (and is ...
8
votes
2answers
6k views

Kate has no window borders, and thus no minimize, maximize, and close buttons

I usually use kate as my preferred text editor, however, whenever I open it there are no window borders, and thus no maximize, minimize, and close buttons. How can I fix this? I tried going thought ...
2
votes
1answer
1k views

Open file with default program and wait until the app is terminated [closed]

I want to open a text file from the command line with the default application. During that time the default app is opened, the terminal must be disabled (cannot execute another command). For example, ...
7
votes
2answers
9k views

Change directory for Kate syntax highlighting files

I'm running Standard Debian Wheezy with KDE 4.8.4 and Kate 3.8.4. The Kate text editor's syntax highlighting files are located in: /usr/share/kde4/apps/katepart/syntax If I run kde4-config --...
6
votes
1answer
1k views

File type based indentation in Kate

So after quite a lot of searching and frustration I'm here to ask how to do one of the most basic (or so I thought) things in a modern text editor. I want to set a different indentation for different ...
3
votes
1answer
2k views

Kate replaces alignment spaces by tabs

When indenting a block of code in Kate (3.11.2), spaces used for alignment are replaced by tabs, ruining all alignments and putting me in the hell of restoring all these spaces. Example: if (true) { ...
8
votes
1answer
4k views

How do I make Kate indent with spaces on Python files but use tabs for text files and other files?

My goal is to set Kate up to work properly on Python files but to use different settings (tabs not spaces) on other documents. I'm sure others are doing this, but I can't figure out a convenient ...
2
votes
2answers
717 views

How to switch text direction to rtl & ltr in kate and kwrite

How can I switch the text direction in kate and kwrite editors? I have English & Persian layouts and want to read the Persian text as right to left but I can't seem to be able to switch the ...
12
votes
3answers
5k views

How can I recover after Kate crashes?

I use Kate for coding and note-taking. Sometimes it crashes - often when I've got a lot open. Unsaved 'real' documents (eg, ones backed by files, that have been saved at some point) usually have a ...
3
votes
1answer
672 views

Kate editor: how to jump to modified lines?

Say I'm editing a long document and I have made a number of changes. I want to be able to jump to each changed line. Is there a way to do this? I know about line modification indicators and I have ...
0
votes
3answers
4k views

Kate vs VIM/Emacs regarding speed [closed]

I'm trying to learn C++ in school using a UNIX environment and our professor urges us to use VIM or Emacs because a GUI is disadvantageous for two reasons: Moving your hands off the keyboard and ...
1
vote
1answer
1k views

How to turn off lines under entire text in Kate editor?

After a recent upgrade on Kubuntu, Kate editor (v3.8.5) shows odd lines under the entire text of previously created simple text files. New files usually have only the first line underlined. Maybe if I ...
5
votes
2answers
4k views

How can I run my own scripts in kate 3.8.2? “External tools” isn't available in the plugins section

I am using Kubuntu 12.04 LTS. How can I run my own scripts in kate 3.8.2? It appears that the plugin named External tools is no longer available. I would like to run Python or shell scripts in kate ...
16
votes
1answer
39k views

Where to get Kate color schemes?

Does anyone know where one could find some good Kate color schemes for syntax highlighting? The only ones that I found that work fine are zenburn and mdark. Besides those two, I couldn't find ...
2
votes
1answer
3k views

How to install color schemas for Kate running on GNOME

How do I install schemas(like this one; for syntax highlighting, etc) for Kate (which is originally for KDE) running on GNOME 3? Trying to install with the install.sh script took no effect. Also, if ...
3
votes
1answer
1k views

How can I install KateSql plugin on ubuntu?

I just installed kate by typing sudo apt-get install kate Now I want to install this kate sql plugin and google is not helping me. I downloaded a punch of files from here But what should I do ...
8
votes
3answers
7k views

How does one find and replace text in all open files with kate?

How does one find and replace text in all open files with kate?
4
votes
1answer
131 views

Big tab spacings with Kate

Is there a way to configure Kate to use tab spaces of more than 16 spaces? I am using Kate to make up a tab separated file for import into a database and some of the data needs about 30 spaces between ...