Open/search file in VScode - vscode-extensions

VScode version: 1.13
OS version: macOS sierra 10.12.5
I am wondering if VScode could open/search a file by entering the Path with auto-complete like vim or Emacs?

Opening a file in your project : see VSCode: Open file in project. if you already have the find panel open with a search term the finds will be highlighted in the next opened file.
I like the CtrL-P then type a . to get your files by extension and then choose the one you want to open. Your preexisting search terms will be highlighted.
Is this what you are looking for?

Do you mean Ctrl + P, then start typing?
The filename is fuzzy matched. Press ENTER to open.

Related

Configuring Groovy SDK within IntelliJ IDEA

I am running IntelliJ IDEA 2017.2.3. I installed Groovy 2.4.12 via Homebrew (OS X). When I open a Groovy source file (or a Jenkinsfile), I get the following:
Groovy SDK is not configured for module 'my-module' . . . . . Configure Groovy SDK...
Clicking "Configure Groovy SDK..." leads me to the following dialog:
I tried hitting "Create..." and selecting many different Groovy-related folders and executables, but nothing works.
How can I get IntelliJ IDEA to accept my Groovy SDK?
IntelliJ IDEA expects the standard Groovy SDK layout which is provided with the official distributions available at https://groovy.apache.org/download.html. Just download, unpack into any directory, specify this directory as the library home.
Homebrew package layout may be different, however it may have the standard layout in the libexec subdirectory in some cases. Try /usr/local/opt/groovy/libexec (use Cmd + Shift + G to navigate to it).
Another suggestion to add to this solution here described in MAC OS you can also add symbolic link in Library. This will make it easy to select it within IntelliJ:
sudo ln -s /usr/local/opt/groovy/libexec /Library/Groovy
This first answer it excellent, but not sufficient. The hidden folder in Mac blocked me one more day.
On Mac system, you can press
Cmd + Shift + G
to invoke the input dialog and input "/usr/local/opt/groovy/libexec" directly to resolve the issue that you cannot find the lib folder.
CrazyCoder gave the correct hints. But some of us use brew as our standard.
brew install groovysdk
In intellij when you get the dialog, as stated by haltTim, Cmd + Shift + G
Navigate to /usr/local/opt/groovysdk/libexec or the cellar path /usr/local/Cellar/groovysdk/???/libexec
From the main menu select File | Project Structure ⌘;.
In the Project Structure dialog, under Platform Settings, select
Global Libraries.
Image depicting the Intellij environment
Select Global Libraries, if nothing is there, click on add(+) icon at the top.
Then a small dialog box will appear, Select "from Maven", then another dialog box as shown below appears, iamge showing dialog box
Type in Groovy, then several options will pop up, select an option which has groovy:groovy-all and version 2.4.1(change version according to your need) and click ok. then apply and ok,
After this go to the same dialog box, of Configure SDK and select from drop-down.

Autoit Recorder not available

From here I downloaded:
SciTE4AutoIt3.exe
SciTE.exe
But AutoIt Recorder is not in the tools menu. Also tried downloading AutoIt Recorder, though I could not. How to get AutoIt Recorder?
As of AutoIt v3.3.14.1 AU3Recorder is not included anymore. The only way is:
Download AutoIt v3.3.14.0.
Copy autoit-v3.3.14.0.zip\install\Extras\Au3Record to {AutoIt-Install-Dir}\Extras\Au3Record.
Start AU3Recorder:
Run {AutoIt-Install-Dir}\Extras\Au3Record\Au3Record.exe.
Or open SciTE and click Tools > AU3Recorder (Alt + F6):
Notes:
Version 3.3.14.0 has AU3Recorder.
Version 3.3.14.2 does not.
Changelog / history does not mention it.
Explained here and here.
It has been removed from the main installer from v3.3.14.1 as it triggers many AV false positives. You can find an old version here:
https://www.autoitscript.com/autoit3/files/archive/autoit/autoit-v3.3.14.0.zip
A little explanation of the rather strange link above:
If we give you a direct link to the file (or the zip file which includes it) the site gets flagged as hosting malware (yes really!) - so what you have is a link to the AutoIt archive page and the name of the zip file you need to download from it.
https://www.autoitscript.com/forum/topic/176009-where-is-au3recordexe/
It is then located in the zip file at:
.\install\Extras\Au3Record
It sounds like you might be looking for the AU3Recorder. You'll find this in one of the following paths (depending on your build), so long as you went with a full installation.
C:\Program Files\AutoIt3\Extras\Au3Record
C:\Program Files (x86)\AutoIt3\Extras\Au3Record
Install AutoIt v3 (This is the latest version as for now)
After installation:
2.1 Click Windows Start icon -> Click "AutoIt v3" -> Click "Browse Extras"
2.2 Extras folder of AutoIt will open in Windows Explorer. Click on "Au3Record" folder -> Double click on "Au3Record.exe"
AU3Record will open
Another way using AutoIt Script Editor(SciTE4AutoIt3.exe):
Download AutoIt Script Editor from https://www.autoitscript.com/site/autoit-script-editor/downloads/
Install it
After installation:
3.1 Open AutoIt Script Editor
3.2. Click Tools menu -> click AU3Recorder from context menu

Sublime Text 2 do not prompt for new file name

I got a problem with Sublime Text 2. It is always creating new, untitled file and never prompt for name while creating.
It does it for folders and I see on web tutorials that this should be default behavior also for files.
Does anybody had ever problem like that?
You can install SideBarEnhancements via package control, cloning the repo.
Then, if you are using OSX using ctrl + shift + t will create a new file, prompting you for a file name. For linux and windows, default is ctrl + t, I believe.

How to run Luke(Lucene tool)?

I had downloaded 'Lukeall-3.5.0' on http://code.google.com/p/luke/downloads/list It's a JAR file , but i don't know how let it work? Can somebody show me the detailed steps to run Luke? Thank you!
You can run eg. from command line issuing java -jar lukeall-3.5.0.jar command
If you want the .jar to run on double click then you have to make an association between .jar files and the program that needs to open them, javaw.exe. You can do this manually by following the steps below, or see this site for an automatic tool called Jarfix.
Right click the .jar and go to "Properties"
Click "Change"
Click "Browse..."
Navigate to your Java install folder
In the "bin" folder you should see "javaw"
Select "javaw" and click "Open"
Click "OK"
Click "Apply"
Tried everything including jarfix , javaW commandline but was not running.
Then I downloaded the jar from this link https://code.google.com/archive/p/luke/downloads. there are many .jar and .tgz file. I tried the latest one with "type-executable" label on it. And once it was downloaded somehow the extension got changed to .zip.
1) changed the extension back to .jar
2) right click open with -> Java(this was installed before)
Bingo! Luke opened up!
At first, you need to download and install Java Runtime to your PC.
Then open command prompt: press Windows Key + R, type cmd in the textbox and hit Ok.
Change directory to your jar file locating folder (using cd command), type java -jar .\yourFileName.jar and hit enter.
Hope this will work.

Notepad++ workspace refresh?

How do i refresh the workspace / project in notepad++ when the file-system changes ( files and folders added or removed ).
at the moment it does not keep up with the local file system and i have to re-create the project each time!! frustrating..
I followed Rechtar's suggestion.
I had a similar issue. Notepad++'s Project pane doesn't update when I change or create new files. What I ended up doing was downloading the explorer plugin through
PLUGINS > PLUGIN MANAGER > SHOW PLUGIN MANAGER
Then install the explorer plugin.
After it's installed go to PLUGINS > EXPLORER and select the explorer.
It's not really comparable to something like Eclipse's project navigation.
In Notepad++ 7.5.8, this issue has been fixed. I suggest you update your notepad++ to the latest version.
In order to do this, go to ? -> Update Notepad++ and it will automatically detect a new update package. Update Notepad++ normally.
Otherwise, you could download the update from here:
https://notepad-plus-plus.org/news/notepad-7.5.8-released.html
In case you're curious, here's the changelog for 7.5.8:
Notepad++ v7.5.8 bug-fixes:
1. Remove annoying "no update" notification.
2. Fix Folder as Workspace not updating regression.
3. Fixed crash issue by checking & unchecking "Disable extension column" option in preferences dialog.
4. Fixed a crash when trying to launch a secondary instance with command line arguments.
5. Fix "Explorer Here" from "Folder as Workspace" problem if folder name contains comma.
Included plugins:
1. NppExport v0.2.8 (32-bit x86 only)
2. Converter 4.2.1
3. Mime Tool 2.1
4. DSpellCheck 1.3.5
Updater (Installer only):
* WinGup (for Notepad++) v5.0.2
I'm currently running version 6.3.3 of notepad ++ and instead of adding the entire project all over again, you can right-click the folder in your project that has the new file and choose: "Add files...". From there, you can select your new file and open it. This will add it to your project in the appropriate folder.
There doesn't seem to be a proper way to do this in Notepad++. The Project panel was born just 2 or 3 releases ago, so it's naturally immature. I suggest that you install either the Explorer plugin or the Light Explorer plugin - they are much more usable.
Or better yet, go learn Vim and fall in love with the NERDTree ;-)