Where is the "Use ".deploy" file extension" option in visual studio 2017 - deployment

Following from this webpage https://msdn.microsoft.com/en-us/library/ms228998.aspx
which states:
you can disable this option by clearing the Use ".deploy" file
extension option on the Publish Options Dialog Box,
Where is the "Use .deploy file extension" option in VS 2017? It's not in the Publish Options Dialog Box anymore. HELP

Right click the project. Choose Properties. From there switch to the Publish tab, click Options... and switch to the Deployment tab.

Related

Visual Studio Code in Explorer's context menu

I want to be Visual Studio Code my default editor for all text-based file types in Windows. For Notepad++ there is an extension in the Windows Explorer to provide "Edit in Notepad++" for each file.
How can I achieve this for "Edit with Visual Studio Code"?
Do I have to "program" such extension on my own or are there any ready-to-use solutions available?
According to this blog post you can set this option during the installation process. If you want to add this option afterwards you either can follow the instructions of the rest of the post or (as recommended) reinstall vscode and then select that option during reinstalling.
When I faced the same issue, for me it was more comfortable to simply reinstall vscode.
It is east !
step 1 -->
Right click the file you want to always open with VS code
example - if you want to always open .txt files in VS code then Right click on any .txt file that is in you system
see this
step 2 -->
click on 'open with'
see this
step 3 -->
click on 'choose another app'
see this
step 4 -->
a new window will open, it will show all the applications on you system that are capable to open that file
click on VS code
and check the box at the bottom that says 'always use this app to open .txt files'
see this
and then click on open
THATS IT
NOW ON .txt FILES WILL BE OPENED IN VS CODE
.txt file extension is just an example, you can do this to any file example .py, .html, .pdf etc.

Visual Studio Code disable Getting Started

I have a question regarding Visual Studio Code deployment.
Visual Studio Code opens IE window to show Documentation for Visual Studio Code (https://code.visualstudio.com/docs?start=true) at first launch.
Is it possible to disable this?
I didn't find the proper setting. It seems that the Documentation window is not shown if the file %APPDATA%\Roaming\Code\Local Storage\file__0.localstorage exist. But I'm not sure if the same file can be used to suppress the IE window on different PCs and for different users.
you can go to File > Preferences > Settings, search "Startup Editor" in "Search Settings" and choose "None" from the drop-down menu.

Liberty Profile Configuration Editor within Eclipse MARS no longer appears

The Liberty Profile Configuration Editor no longer appears. All was working great and now all I get is the XML editor. The option for the Configuration Editor is still in the context menu but I always get the XML editor.
I would like the option back. Is there a HOW TO?
Perhaps the version of the Liberty plugins you have is not compatible with Eclipse Mars. You should update it, easiest way is probably via Eclipse Marketplace. Here's what looks like the latest Liberty Profile tools in the marketplace: https://marketplace.eclipse.org/content/ibm-websphere-application-server-liberty-profile-developer-tools-0
This also could be as simple as the related editor for server.xml was messed up. If you click on the server.xml file, and use context menu "Open With..." Do you still see "Liberty Profile Configuration Editor" in the list?
Chuck
Is the Design tab still showing but the design view displays an error when you click on it? If so, what is the error?
Are there any messages in the .log file (<your workspace>/.metadata/.log)
Is it not working on some particular files or not working at all, for instance, if you create a new file does it open with the configuration file editor? To create a new file, right click on your server folder in the explorer view and select New -> Liberty Profile Configuration File. Give it a name like test.xml and click Finish.
One thing you could try is to regenerate the runtime cache and see if that helps:
Window -> Show View -> Other -> Server -> Runtime Explorer
Right click on runtime in Runtime Explorer view and select Edit
Click on Advanced options in the dialog
Click the Refresh button
Wait for the refresh timestamp to be updated
or:
Window -> Preferences -> Server -> Runtime Environment -> SELECT YOUR RUNTIME -> CLICK Edit -> CLICK Advanced options... -> CLICK Refresh
Wait for the refresh timestamp to be updated

Config eclipse preferences in project explorer

Can I config somewhere which options there are when I make a right click in the project explorer and there is the extended menu of "new" and change for example "new php project" to "new php file"? Thanks for yout answers
You can configure the top level of the 'File > New' menu using 'Window > Perspective > Customize Perspective' dialog (or just 'Window > Customize Perspective' before Eclipse Mars).
Choose the 'Shortcuts' tab and configure the items you want to appear.
The items that are available in that submenu is based on the context, on whatever you have selected when you right-click. For example, if you right-click on an existing PHP project, then you should see an option to create a new PHP file in that project.
Keep in mind that Eclipse is fundamentally project-based; you can't really create files outside of a project.

Open directory containing a source file via Eclipse

In Visual Studio, or MyEclipse, you have a button which is able to locate a source file on disk, and open the containing directory in Windows explorer.
This is useful, for example, to browse images, or to use an other tool when a conflict occurs in CVS or SVN.
What would be the way to do it in Eclipse with a free plugin, or without any plugin ?
I found it :
"In eclipse, it is common requirement to open the folder containing source file but there is no direct method to do that like in Visual studio of Microsoft."
http://shivasoft.in/blog/others/tips/locate-source-file-on-local-disc-in-eclipse-external-tool/
An actual plugin can be found at http://blog.samsonis.me/2009/02/open-explorer-plugin-for-eclipse/
And version 1.5 can be found here http://blog.samsonis.me/2011/08/openexplorer-eclipse-plugin-1-5-0/
One that I've since upgraded to & find more useful
http://basti1302.github.io/startexplorer/
I always do this:
right click on file/folder, show in..., system explorer. Done.
I guess we don't need a plugin to do that, or I am misunderstanding the question?? I am using Luna 4.4.2 on Windows 7.
On Mac you can follow this steps to add it without a plug-in:
Click the disclosure icon to the right of the External Tools icon:
Select External Tools Configuration:
The External Tools Configuration window will appear. Select Programs and then click New Launch Configuration:
This will create a new launch configuration. Enter a name of the configuration in the name field:
In the Location field enter the path to the Open Finder, "/usr/bin/open" without quotes:
In the Arguments field enter the following argument, "${container_loc}" with quotes:
Click Apply. It should look like the following:
Switch to the build tab and deselect Build before launch:
Switch to the Common tab and select the External Tools checkbox in Favorites. Click Apply again and close out of the window.
You are done. Now to use:
Select a file or folder in Eclipse Package Explorer.
Click the disclosure icon to the right of the External Tools icon:
Select the Open Containing Folder from the drop down menu:
You're file or folder should open in Finder.
PRO TIP: After you use the external tool once you can click the External Tools icon again and it will run the last used external tool. In other words, you won't need to select it from the pop up menu each time.
You can also look up the source directory by right clicking on the project, going to properties, and looking at "Location: ... "