What is the shortkey for duplicating a line in VS Codespace - codespaces

Recently I have switched from VS Code to VS Codespace.
I really miss the duplicate line functionality.
In VS Code you can do this with ctrl+shift+d.
But I could not find a corresponding shortcut in VS Codespace.
Does anyone know what is the shortcut for duplicate line in VS Codespace?

You can set custom hotkeys in the hamburger menu in the top left corner --> Files --> Preferences --> Keyboard Shortcuts --> here type in "Duplicate Selection" --> double click on the result, and press the shortkey you would like to use to duplicate rows.

Related

How to remove the arrows when placing the "Tab" button and dashes when I press the space bar that appear in my Sql Server environment?

I have the following problem, maybe it's quite simple but I could not find the solution.
It happens that without realizing I did a combination of keys (ShortCuts) and the code editor changed, now when I write any query I get something similar to scripts
in the spaces I have (when I press the space bar) and arrows when I press the "Tab" button
Does anyone know where this is configured? Thank you ... SQL SERVER
Here is an example
SELECT-*-FROM-MI_TABLA
WHERE--COLUMNA-=-'ABCDE'
In SSMS menu bar try Edit > Advanced > View White Space . This should remove arrows.

Codenameone new Gui Builder can't add components

I started using the CN1 new Guibuilder for the first time today and can't fathom out how to add components. I have watched and read the tutorials but my system isn't behaving the same.
I create a new CN1 project and the 'Form' guibuilder class, right mouse click > Guibuilder > the builder IDE opens fine and looks visually correct. On the right hand side panel i select any component, eg. Label, and as i am dragging onto the canvas it looks as per the tutorial - the handles and height/widths properties visible - see .
I release the mouse button and it leave a grey box
If i click on the grey box (or try to add any component) it disappears
Wierdly if i click and drag and at the same time click the PrintScreen button, the label sometime stays on the canvas with the handles and i can see its properties panel, but when i try and change a property, the Label vanishes.
Basically if i try and change anything in the builder, including clicking one the Layouts (bottom left panel) for the GuiForm then the builder seemingly rebuilds itself and collapses and hides anything i have open - resetting itself back to when it was first opened. It's like its in a read-only mode.
Is there a log i can look at? I am not getting any error in my console. Eclipse is running normally in all other areas.
I'm on the latest JRE and Eclipse Neon.3 and latest CN1 updates.
EDIT 12/11/17
The name value in the guibuilder.input is empty:
`<?xml version="1.0" encoding="UTF-8"?>
<con name="" formName="GuiForm" file="file:/C:/VersionControl/sandpit/GuiBuilderTest1/res/guibuilder/com/thinksmart/guibuilder2/GuiForm.gui" javaFile="file:/C:/WINDOWS/system32/GuiBuilderTest1/src/com/thinksmart/guibuilder2/GuiForm.java" resFile="file:/C:/VersionControl/sandpit/GuiBuilderTest1/src/theme.res" outputFile="file:/C:/Users/William/CN1_Home/.guiBuilder/3979cc5c-798a-41b4-9bda-d7824141986a.ouput" running="file:/C:/Users/William/CN1_Home/.guiBuilder/3979cc5c-798a-41b4-9bda-d7824141986a" />`
The GuiBuilderTest1/codenameone_settings.properties file for this brand new project is:
`codename1.vendor=CodenameOne
codename1.displayName=GuiBuilderTest1
codename1.icon=icon.png
codename1.arg.java.version=8
codename1.languageLevel=5
codename1.secondaryTitle=GuiBuilderTest1
codename1.version=1.0
codename1.mainName=MyApplication
codename1.ios.certificatePassword=
codename1.arg.ios.newStorageLocation=true
codename1.rim.signtoolDb=
codename1.ios.certificate=
codename1.j2me.nativeTheme=nativej2me.res
codename1.android.keystorePassword=
codename1.rim.signtoolCsk=
codename1.android.keystore=
codename1.android.keystoreAlias=
codename1.rim.certificatePassword=
codename1.ios.provision=
codename1.packageName=com.thinksmart.guibuilder2`
The CN1Log file also has the name attribute as ''.
I think I've been looking at this in the wrong direction. I think the problem isn't a permission problem but a naming problem. It seems that the project name is blank for some reason which I didn't think would be an option but I guess it is.
The project name should come from codename1.displayName in codenameone_settings.properties. I'll add a fix for this to work with "UnnamedProject" for version 3.81.

change Module position in joomla

I am working on a website using Joomla, how can I change Module position in the picture below
click to see photo
thanks
Since most menus do not allow a search bar to show without it being a drop down item or part of a mega menu, your best bet would be to remove the float:right line of code so it just starts from that left side.

Finding empty label in Windows form

I am new to Windows Form application and trying to build a small application.
I had dragged and dropped a label on the main form.
Then I deleted its text property to empty string basically hiding the label.
Now I would like to move this label to some other location on the form but unable to do so because I cannot find it.
I checked the designer file and its there.
But I cannot find it in the form so that I can grab it and move to a different location.
Please help.
Thanks
Use Document Outline. Look at the following images.
That happens to me several times, and a few weeks ago I found a way to get the empty label like this:
On the tab "Properties" just click on the arrow to show all controls and click on the label you want, this will automatically select the label on your form..

Open XQuery panel in BaseX

I have tried many times to open the XQuery panel on BaseX. I've searched just about anything on the GUI opened any panel that could be opened and searched throughout the documentation of BaseX, no go.
EDIT
When I go to View > Editor I do not get the XQuery panel I get this one:
The query editor is hidden under "View" -> "Editor", or using the hotkey Ctrl+E (on OS X, using Cmd instead).
Edit: In the updated screenshot, the query editor is already visible. The "XQuery" view was renamed some time ago, when the editor was enhanced. Just press the "+" button in the tab view to open a new tab to write XQuery code.

Resources