editor

How to change the highlights for selected text and selection/word matches?

落花浮王杯 提交于 2019-12-09 08:12:27
问题 Visual confusion: 'selected text' and 'selection matches' highlight color As a daily VS Code user I found an earlier closed issue (Selection and selection matches highlight color #1636) about this - i.e. if you actually select some text it's highlighted, but the highlight colour is all but indistinguishable from the highlight used for matched code or the same word. A local user settings-like CSS override? If the system-wide highlight colour (when selecting any text system-wide) isn't portable

Intellij like Text Editor

亡梦爱人 提交于 2019-12-09 08:08:59
问题 I am Intellij user and get really used to it and especially it's keymap (all kinds of goodies for text: ctrl+w, alt+mouseDrag...). What I am looking for now is text editor for programming that would be familiar to Intellij way of work (in some sense). In ideal world, I would like to get similar keymap by default or have it as a plugin. Second best thing would be having keymap to be "very compatible" with Intellij when I set keymap manually. What I mean by that is that, often, its best to

Is there an XML Editor with grid view similar to that of XMLSpy? [closed]

久未见 提交于 2019-12-09 08:07:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I have been testing out a few different xml editor/viewers and I can't seem to find any that have a feature that is comparable to XMLSpy's grid view. Another feature I'd like to find, but is a deal breaker would be XMLSpy's ability to "Copy as Structured Text". Haven't found anything similar to this either in the

How do I select a single line within Visual Studio Code?

こ雲淡風輕ζ 提交于 2019-12-09 05:04:18
问题 Using Microsoft's Visual Studio Code, how do I select a single line of code? (equivalent to Atom's or other IDE's Cmd + L on Mac) And what would be the command I'm looking for? (e.g. editor.action.copyLinesDownAction ) It's quite confusing, since other selection shortucts like Cmd + A and Cmd + D are the same as in my previous IDE's. 回答1: It's Cmd + I by default in VS Code versions prior to 1.32. Starting from version 1.32 it's Cmd + L . You could change it in Keyboard Shortcuts by searching

Can't find a decent git gui for windows. Anyone know of one?

醉酒当歌 提交于 2019-12-09 04:55:36
问题 I'm running win7 and need a good git client with a GUI. I like bash but it feels clunky in windows. the GUI that comes with the windows package at git's website is missing a lot of stuff too. I'm considering switching to Ubuntu and using Gedit + git instead. What should I do? stay in windows and use Aptana or Komodo with another git client, or switch to Debian/Ubuntu and use the tools there? 回答1: GitHub for Windows came out recently. It manages local repos as well as supports pushing to

How to show different tooltips for the buttons in the PrimeFaces RowEditor

泪湿孤枕 提交于 2019-12-09 03:44:39
问题 I use <p:rowEditor /> in my <p:dataTable> and I want to add tooltip for this component. I have problem because in default PrimeFaces display same tooltip for "pencil" icon, "ok" icon and "close" icon too. How i can set separate tooltip for each icon? My code: <p:dataTable> <p:column> ... </p:column> <p:column> ... </p:column> <p:column> ... </p:column> <p:column> ... </p:column> <p:column> <p:cellEditor> <f:facet name="output"> <p:outputLabel value="#{stat.validTo}" /> </f:facet> <f:facet

eclipse shortcut for enabling / disabling JAVA breakpoints

和自甴很熟 提交于 2019-12-09 02:41:52
问题 I'm looking for a shortcut to completely enable / disable all JAVA breakpoints (analogue of pushing the "Skip all breakpoints" button in Debug view ), not to enable / disable them on a row-by-row basis. 回答1: You have to assign your own keyboard shortcut to the Skip All Breakpoints command. Use Preferences>General>Keys preference page to do it. PW 回答2: Ctrl Shft B use Ctrl Shft L to open key assist for all possible keyword combinations. 回答3: In Eclipse, in debug perspective, you have a blue

Setting up Vim for Python

做~自己de王妃 提交于 2019-12-08 22:35:51
问题 I really like the Emacs editor for Python because of it's smart tabbing for instance if I have something like this def foo(): if bar: blah [b]eep and I press tab on the cursor (which is on the b of beep), it will not insert a new tab causing a syntax error but it would toggle through the possible levels that beep can be on. Is there anyway of getting this effect on Vim? 回答1: In general, vim is a very powerful regular language editor (macros extend this but we'll ignore that for now). This is

第八次作业

故事扮演 提交于 2019-12-08 18:30:34
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context=".MainActivity"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="30dp"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="账号:" android:textSize="30sp" /> <EditText android:id="@+id/etName" android:layout_width=

In the Eclipse text editor, how can I reformat / fill / justify a paragraph to 80 characters wide?

北慕城南 提交于 2019-12-08 18:07:53
问题 When editing text files in Eclipse, for instance, a README file, I have not yet found a way to get the editor to reformat paragraphs of text so that they fit in a reasonable width (typically 80 characters). This seems like it should be a very common thing to want to do, but I haven't found it. Can anyone help? Note that I'm not talking about soft text wrapping here - I want to hit some key combination and have Eclipse insert and remove actual newline characters so that the file looks OK when