Stack Exchange Network

Stack Exchange network consists of 174 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
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [kate]

Kate (KDE Advanced Text Editor) is a multi-document, multi-view text editor for KDE.

0
votes
0answers
4 views

How to alter date format in page header in Kate (kde text editor)

In Kate, I can specify the headers to appear on each printed page: File > Print... > Options > Header & Footer In the Header Properties, I found the Format code %y in the left field. This yields ...
1
vote
2answers
135 views

How do you filter text in Kdevelop?

In Kate, I can highlight a block of text, invoke the ad-hoc filter functionality with a key binding and then enter an arbitrary command into the dialog box. (Most of the time, it's a variation of sort ...
0
votes
0answers
141 views

How to remove trailing spaces from a selection in kate

kate allows to remove trailing spaces of lines on save. As with Markdown everywhere, even within C files comments, this option is of no use at all for me. What I need is a way to clean trailing ...
0
votes
0answers
560 views

How to change the colour of KATE text editor's UI

I have recently downloaded KATE text editor for my kali linux. I love the editor ,but the light UI is a real eyesore. Does anybody know how to make the UI dark like the editor's theme?
0
votes
1answer
146 views

How to persist line numbers option in Kate?

Pressing F11 will only enable line numbers for the current session, how do I make Kate remember this option? The answer given to the question with the title "How to make Kate remember to always show ...
0
votes
1answer
91 views

No option for “External Tools” in Kate plugins

I was reading Assembly Language Step-by-Step: Programming with Linux by Jeff Duntemann, and in a chapter he told to configure Kate and enable External Tools. Then I faced the problem. I am using ...
1
vote
1answer
23 views

In-document highlighting hint for Kate

Is it possible to provide a hint for Kate which highlighting to use for a given document (inside the document itself) so that I don't have to set it manually? If so, in which syntax?
1
vote
1answer
637 views

How do you insert a tab character in Kate?

Tab and Shift+Tab keys are for indenting and unindenting in the "Normal" indentation mode, which is the default. These are fine and do exactly what I want. Occasionally it is useful to insert a ...
0
votes
1answer
278 views

Visual Basic highlighting for Kate text editor

kate supports syntax highlighting for so many programming languages I was surprised when I couldn't find Visual Basic on the list. How can I get Visual Basic highlighting on kate? I know some ...
2
votes
1answer
282 views

How to reorder tabs in Kate?

I recently upgraded to Ubuntu 16.04 and installed Kate Version 15.12.3 through the official Apt repositories. For some reason now I am unable to reorder tabs. I may be mistaken, but I could have ...
0
votes
2answers
1k views

How do I cut a line in KDE Kate?

What is the keyboard shortcut to copy the whole current line to the clipboard and then delete it? This is functionally equivalent to: Home, Shift+↓, Ctrl+X It's a common feature I use often in some ...
2
votes
0answers
246 views

Kate - select whole word under cursor via shortcut

I use Kate (version 3.14.2). In this text editor it is possible to select the whole word by double click on it. I would like to achieve the same effect but via keyboard shortcut. I've tried to look at ...
0
votes
1answer
454 views

Delete all lines that do not contain a specific word in kate

I have a very large file and I want to delete all lines that do not contain the word "xyz". How can this be done in Kate?
20
votes
1answer
11k views

How to make Kate remember to always show line numbers?

When I open Kate editor, it doesn't show the line numbers by default. Then I need to go to the View menu and enable the Show Line Numbers option (or press F11) every time I need to have line numbers ...
0
votes
2answers
182 views

How to launch kate from cscope?

I tried setting EDITOR to kate and starting cscope. Unfortunately, whevenever cscope launches kate: kate +LINE FILE.c the editor ignores the +line flag treating it as just another (non-existant) ...
5
votes
5answers
4k views

Can Kate automatically convert spaces/tabs?

I got some files have mixed indentation, is there any way I can automatically convert the indentation in Kate?
1
vote
1answer
644 views

kate search/replace with special characters?

Is there any way I can replace something with special character like \n, \t at so on? I can search with regex, and I can even use something like \1 to refer to the group. But I am surprised the \n,\t ...
1
vote
1answer
52 views

Kate wrap selected text

Before exposing my problem, I know that there already has been a post on this, but it didn't work. When I select a text and type ( or ) the text is just being replaced with (), even though, as ...
3
votes
1answer
162 views

Create a new directory in KDE Save As dialogue

When using the KDE Save As dialogue, how does one create a new directory using the keyboard only (i.e. no need to grab the mouse)? The Create New Directory button is not readily accessible via ...
1
vote
1answer
433 views

kate's “open file” doesn't show all files

when I go to open a file from kate (in ubuntu), it doesn't show me all the files in the current directory. what's more, it shows me some files that aren't in the current directory. only when I ...
1
vote
1answer
122 views

Kate changes inode

Why does Kate change inode when I change file? For example: ookami@ookami-E7130:~/test$ touch test ookami@ookami-E7130:~/test$ ln test test1 ookami@ookami-E7130:~/test$ ls -li total 0 2782182 -rw-rw-...
1
vote
1answer
861 views

Count found text on Kate

Notepad++ has this option that lets you count the number of times your search appears in a document (the button "count"). I'm looking for the same thing in Kate, any ideas?
1
vote
0answers
115 views

set environment variables when KDE is starting using source (using Intel Compilers under Kate)

I'm trying to use the Intel compilers in Kate's build plugin. The recommended way from Intel is to source the compilevars.sh scripts, using # source <path_to_intel>/compilevars.sh intel64 It ...
1
vote
1answer
344 views

How to keep Ubuntu 11.10 and Kate editor w/terminal from changing command line when changing tabs?

I am programming C using Kate editor in Ubuntu 11.10. It works great, but when I change tabs in Kate, the terminal line changes to the file path of the tab I click on. Normally this is not a big deal ...
0
votes
1answer
1k views

add quotation marks (or square brackets or parentheses) to selected word via shortcut

Is there any way (Plugin, Script) to add quotation marks (or square brackets or parentheses) at the beginning and the end of selected text via a keyboard shortcut in the Kate editor? I think of ...
4
votes
3answers
3k views

How can I tell kate to use CSS highlighting for .less files by default?

How can I tell kate to use CSS highlighting for .less files by default?
6
votes
2answers
4k views

Kate gives out debug messages on the console from which it is started

I am new to Linux. I use Ubuntu 11.04. Whenever I open a file with kate from the commandline, with 'kate &' (or without ampersand), Kate starts out giving messages on the console. It continuously ...
7
votes
4answers
2k views

Disable KDE sounds in GNOME Ubuntu

I use kate (a KDE text editor) under GNOME in Ubuntu. Since Natty upgrade, it plays miscellaneous sounds on error and other notifications. I disabled sound notifications in GNOME, but kate sounds are ...
5
votes
3answers
4k views

Automatically saving files on edit with kate or any text editor

When I try to edit a file in a remote directory (through SSH, SFTP or FTP) I must close the file to get a dialog box tell me if I want to upload the file. I want to upload it automatically on save! I'...
3
votes
4answers
5k views

How do I make kate the default text editor in gnome?

I prefer the gnome desktop to KDE - but I prefer the Kate text editor to gedit - but gedit is the default in gnome. How do I set it so that the default application when I double-click a file is Kate?