Which directory is this file located in?
Reason I ask is, I want to back up my settings.
In Visual Studio, go to Tools -> Options -> Environment -> Import and Export Settings. Your settings file is saved to the directory specified by the Automatically save my settings to this file box.
It was %userprofile%\Documents\Visual Studio 2008\Settings\CurrentSettings.vssettings on my machine.
See How to: Share Settings Between Computers. And yes, it's a misleadingly-named option heading.
I assume you want to do this on schedule.
I suggest to specify where your settings file is and then backup that location:
In the Tools menu, chose Options.
In the Environment folder, choose Import and Export Settings
In Automatically save my settings to
this file, enter the location you will backup.
Click OK.
Related
I create a file with html extension with visual studio code. I can create the file but I cannot edit it. Can you help me solve this issue
Try running Visual Studio Code as an administrator if you are using Windows.
Right Click Visual Studio Code > Run as Administrator, follow the instructions from then on.
You can also edit file permissions entering here:
Right Click File > Properties > Security tab
This should lead you to an User Selection screen, select your user and click Edit, see if the checkmarks for Write and Read are activated, activate them otherwise, click OK and restart Visual Studio Code, try to access the file then.
If you are using Linux, try changing the read and write permissions so that you can make modifications to the file. This is done through chmod. Use Bash (or the terminal emulator you are given for doing this).
Example:
chmod +rw <file_here>
That should be enough.
More description would be better...Don't understand " create a file with html extension". Try to create a .txt file and open it with vscode and see if you can edit it. If can, you can create another .txt file in your PC, change the suffix of the filename(.txt) to (.html) and then try to open it with vscode, check if you can edit it.
html extension with visual studio code it have a lot of problems, so you can create index.html by yourself. Example:
Open VS then press on File then click on new window.
You can save as this window in your project folder.
Don't forgot to save it with .html file type so browser and VS can read it.
I opened the ~/Applications/Sublime Text.app/contents/MacOS/Packages/Color Scheme - Default.sublime-package with vim and changed some settings in the color theme that I was using. When I then saved the changes and restarted sublime text 3, the changed wasn't in effect (I tried multiple times and double checked everything).
Should you be able to just edit the package without extracting/unzipping anything? I read at different places that you should unzip and then edit, why is that?
Does ST3 read the color theme from somewhere else? Does this apply to all sublime-package files? A short explanation would be nice.
You shouldn't be modifying anything in that folder. The changes you make there will get overwritten by whatever you have in your Packages folder anyways (not the Packages folder you went to). The correct Packages folder you want to go to can be found by doing Preferences -> Browse Packages.
The best way to make modifications to files in a package is to use a plugin called PackageResourceViewer which you can install with Package Control. Once you have it installed, just do the following:
Open up the command palette with ⌘+Shift+P
Type in PackageResourceViewer: Open Resource and press Enter
Use the arrow keys to find the package and file you want to make modifications to and then press Enter
If you'd like to see the entire contents of a package (all the folders and files inside it), just do the following and a folder with the package name will be created in your Packages folder
Open up the command palette with ⌘+Shift+P
Type in PackageResourceViewer: Extract Package and press Enter
Use the arrow keys to find the package you want to extract and then press Enter
Go to your Packages folder by doing Preferences -> Browse Packages and you will see the entire folder for your package.
I have a lot of similar projects created in PHPStorm and I need the same Run/Debug configuration in all my projects. Right now the Run/Debug configuration is empty when I create a new project.
I have tried exporting and importing settings from the file menu but that does not copy the Run/Debug configuration of project A into project B.
Can someone please tell me how to copy the Run/Debug configuration of one project into another?
Run/Debug Configurations are project-specific and therefore cannot be exported/imported via File | Export/Import Settings... which is for IDE-wide settings only.
By default, all Run/Debug configurations are stored in YourProject/.idea/workspace.xml file together with other developer-specific settings.
In order to be able to share (better say -- copy) between the projects:
Make sure that each of such Run/Debug configurations has "Shared" box ticked.
Such shared run configurations will be stored in separate *.xml files in YourProject/.idea/runConfigurations/ folder which you can include in VCS if necessary.
You can copy these files from one project to another (while project is closed in IDE, of course).
Here's the problem :
My project on phpStorm use a remote access to the server by FTP.
When I save a modified file, the file is uploaded normally to the serv, but when I create a folder on the serv, i don't see it in phpStorm.
Any idea?
PhpStorm is built around "local project files are the main ones -- deployed are secondary" idea. It's natural to have "automatically upload to remote host" (sync local with remote) functionality to follow such an idea.
At the same time the IDE does not have anything to "automatically sync remote with local" (the reverse: to automatically copy remote stuff back to local). Simply because it contradicts such an idea: local files are the main ones.
Therefore:
The "Synchronize" button that you are referring to does not do what you are expecting it to do. It syncs what the IDE knows about project files on a local file system. In other words: it checks if there were any changes to local files done outside of the IDE. It does not do anything with remote files.
NOTE: In modern 202x.x versions it has been renamed to "Reload All from Disk" to avoid such a confusion).
To manually sync with remote files (any direction) you have these main options:
Use Remote Host side panel (can be accessed via Tools | Deployment | Browse Remote Host if it’s closed/hidden) and download any files or folders manually (drag and drop can also be used, just make sure that you are copying files because by default IDE tries to "move" (copy+delete) instead of just "copy"). It has a "Refresh" button to refresh the remote location.
Use two-way synchronisation (with preview) accessible via right click on desired folder(s)/files and choosing Deployment | Synch with Deployed... where you can sync those files/folders both ways (by default newer stuff will override older regardless of the direction).
The IDE can automatically sync one way (from local to remote): just ensure that automatic deployment is enabled and you have one server (or a group) marked as Default for this project.
Settings (Preferences on macOS) | Build, Execution, Deployment | Deployment | Options | Upload changed files automatically to the default server is the option. Check other options there to better suit your needs.
Please refer to the official help pages for more info on deployment (including a simple video tutorial): https://www.jetbrains.com/help/phpstorm/deploying-applications.html
And the funny thing about it, it is not completly correct. The option underneath is missing.. 'skip external changes' should not be ticked.
In Mac -> PHPStorm -> preferences -> Build, Execution, Deployment -> options
Set the Upload as seen in the picture to always and make sure skip external changes is unticked.
It works for me in PhpStorm 2020.1
I had to switch computers at work and my WEBMethods project was not moved to the new computer. After installing WEBMethods we noticed that my project had not been copied over.
So I went in to the laptop and found the folder that contains the webmethods project.
I copied all of the files in that folder along with the folder name to my new computer.
I know want to import that directory to WEBMethods (I noticed WEBMethods stores all of the information in a huge, huge XML file)
This is the folder that contains all of my files for this specific project.
Question: How can I get it moved into WEBMethods?
Here's an easy way to move your package:
1) Login to the webMethods administrative web console
2) Navigate to Packages > Management. You'll see a list of all the packages on your integration server.
3) Identify the packages related to your project and for each package click on
4) On the "Archive" setup page, leave everything as is except for the archive name. Name it to something you'll easily recognize.
5) At the bottom of the "Archive" setup page, click on the "Create Archive" button. This will create a zip file in the following folder
IntegrationServer\replicate\outbound
6) Copy the zip file to the new computer at the following location:
IntegrationServer\replicate\inbound
7) In the webMEthods administrative web console of the new computer, navigate to Packages > Management and click on the "Install Inbound Releases" link.
8) Select the zip file in the select box
9) Click on "Install release".
While copying packages it is always recommended to export the package and load it to new location. You can either use the Administrator Page to get the package or in case if you dont have Administrator access, then in that case you can use your developer/ designer to get the package. Follow below steps:
Select the package you want to move.
For Developer, click on File Menu(top left corner)>Export option to save the package on your current system.
For Designer, right click on the package you want to move. Select Export from Server option and save the package on your current system.
The package is now saved as a ZIP file. Copy the ZIP file to the new system.
In your new system, place the ZIP file to- IntegrationServer\replicate\inbound folder.
Open webMethods Administrator page and Select Packages>Management option. Click on Install inbound Releases Link.
Select the package name from dropdown and click on Install release.
In case you dont have Administrator access, you can pass the zip file to the person who has the access and they can follow the steps 5 to 7
If your package exists on an accessible server(A server you can login from your current machine), then open the server session in which the package exists. Also open the server where you want to place the package in the same Developer/designer. Using this way you can simply copy the package from one server and paste to other.
But while using this, make sure that dependent packages if any, exists in the target server.
Its always better , if you create the Release. Go to Publish link and create the full Build or patch.whatever you want, add the subscription to it and send it to remotes system via clicking send release link.