I have two files which I compare using Data Compare and I want to edit default rules from the script. I tried manually from BC interface and it worked, but I need to manipulate the rules within the script.
This is my script so far:
data-report layout:side-by-side &
options:ignore-unimportant,display-mismatches,line-numbers &
output-to:"%3" output-options:html-color "%1" "%2"
Any ideas how could I do that? I am using Beyond Compare 3.
Thanks in advance.
Beyond Compare doesn't support editing Data Compare session settings with a scripting command.
As a workaround, open a graphical Data Compare session. Click the Rules toolbar button (referee icon). In the Columns tab, edit the column settings you want to use in your script. Change the dropdown at the bottom of the dialog from Use for this view only to Also update session defaults before you click OK. The modified default session settings will affect your script.
Related
My current workflow has me opening upwards of 4 or 5 different VSCode work spaces. It is nearly impossible to quickly keep straight which work space is which. The only indication given is in the title bar of the individual window, which means I'm often clicking through the windows to find the correct one. It doesn't appear to be possible to rearrange the order of the VSCode task bar items within themselves (only in their current ordering with other apps).
Is there a way to rearrange the workspace name and the current file name to make the workspace first and the filename second?
Or is there a way to assign custom icons per workspace?
With the setting window.title you can configure which parts are shown and there order.
Use the Setting GUI to see the possible fields.
${dirty}${rootName}${separator}${activeEditorShort}${separator}${appName}
I've just started using Vscode and have a created a WebAPI project. On trying to open any of the default code files (Startup.cs and Program.cs) whatever I type starts to appear in the blue bar as shown below instead of where I have placed the cursor. I have no idea what's going on or what that blue bar is.
I am able to add my own code files and edit these as I would expect.
I'm running Vscode 1.29.1 on Win 10 on a Dell Latitude 12 7275. The vscode extension
Enabled extensions :
That's caused by Vim extension. Uninstall or disable it, otherwise use insert key on your keyboard to put it in insert mode.
I'l leave this here for future readers
Basically, if I split files in tabs in VS Code, I could work with the files on the left hand side but could "read-only" all the files on the right hand side.
When I went to the extensions tabs I noticed that whatever I typed was being typed in the field in the extensions search bar. After deleting that, and clicking back on the "Files" tab, it went back to normal and can basically edit files on the both sides of my split screen.
If cannot type
Check where whatever you type is going (e.g. Extensions > Search bar)
Delete wherever it's being typed, and click back on the "Files tab"
Check if it works
I had to change the parent folders permission...
Try changing the entire folder to:
Read & Write: Allows a user to open the item and change it.
https://support.apple.com/guide/mac-help/change-permissions-for-files-folders-or-disks-mchlp1203/mac
I have a lot of projects in my package view with a lot of resources(.java, .xml, .vm, .js, and so on) but I work only with several of them and the list could change with the time. I need a tool that allow me to filter quickly only selected files("my files") and back to a full projects list. I thought I can do that using working sets but I can't find a way to add and delete files from an existing working set.
Go to Window->Customize Perspective. In Command And Groups Availability tab enable Window Working Set option if not enabled. Click OK
Go to Window->Working Sets->Edit. A dialog will pop up. Click Edit button after selecting any working set.
I am looking for a way to attach hotkeys to specific tracks in foobar2000. I havent found a way to do it directly through foobar. Ive been trying to write down an autohotkey script which would skip songs until foobars window title matches destined tracks title, but ive been failing so far. If you have an idea on how to do this please help.
First disable this
Library=>Configure=>Shell Integration=>disable "Bring to front when adding new files
Then enable this
Playback=>Playback follows cursor
Then use this
^F1::Run,C:\MusicPlayer\foobar2000.exe /add /immediate "C:\path\to\song.mp3" /play
I am looking for a way to attach hotkeys to specific tracks in foobar2000. I havent found a way to do it directly through foobar
Actually, there is a way
We use the ability of foo_run to bind certain commands to a (global) shortcut.
Additionally we need foo_cmd_playlist to switch to the correct playlist because the used command context_command:play <path_to_mp3> works only if the corresponding playlist is active. Otherwise your track will be appended to the end of the active playlist or send to a new one according to your settings
How to set up
Download & install two foobar2000 plugins foo_run and foo_cmd_playlist
Under Preferences » Tools » Run services add a new entry for each track you need a shortcut. Enter a proper name as label
Under path: you enter
foobar2000 /playlist-activate:"Radio" /context_command:play http://listen.radionomy.com/themashupradio
/playlist-activate:"Radio" is where you define the playlist which has your desired track.
If you have a global playlist with all music in one, just take this playlist and you're fine
/context_command:play http://listen.radionomy.com/themashupradio is the place where you enter the full path to your mp3 (or online stream like my example)
At last, we set up a custom shortcut for our new entry under Preferences » Keyboard Shortcuts
All hail to the fb2k
Foobar2000 supports command line parameters. Simply passing the path of the mp3 file to foobar2000.exe works. Below uses the hotkey Ctrl + F1
^F1:: Run, %comspec% /c "C:\MusicPlayer\foobar2000.exe "C:\path\to\song.mp3"",, Hide
Whenever I switch working sets in the project explorer, the working set does not switch for the search and call hierarchy views, so I end up with search results from the wrong working set if I forget to switch those over manually.
Is there a shortcut for switching working sets in all those tools simultaneously?
Thanks!
There is a special working set concept in Eclipse called Window working set which is basically a 'centralized' way of managing your working sets.
You can set up your working sets in Window / Working Sets. Most views which have support for working sets have an option to select this special working set (as you can see here). After finishing the setup you can turn on/off your active working set in Window / Working Sets and all views are automatically use the changed values.
Project explorer, call hierarchy and search support this feature.
To obtain some automation with Working Sets I suggest the following...
First of all a premise. All the views that support Working Sets ask you to select which one they are going to refer to. In the selection dialog, usually, you will find the name of the currently defined Working Sets AND the label Window Working Sets. The latter is, as Csaba_H was saying, some sort of centralized Working Set manager.
Therefore, make sure that every time you need to select a Working Set, your Window Working Set label is selected instead (in the search it's the last input field, press the Choose button...in the Package Explorer, it's the first entry above your WSs).
This is important because when you now change the WS selection within the Window Working Sets (sorry, a lot of WS here), you will automatically change all of them! You will see the Package Explorer change, for example.
As said here already, you can change it through Window -> Working Sets (if the entry is not there, just Window -> Customize Perspective... -> Command Groups Availability tab -> tick on Window Working Set). Not only that, now you can assign a shortcut under Window -> Preferences -> General -> Key -> Select Working Sets (category Window) and use the shortcut to open the selection dialog and change WS from there!
Hope it helps.
Not sure there is a direct way, but what you can try is (just for testing) to associate one perspective to one working set.
I.e. define a package explorer, a search view and a call hierarchy view:
all set to working set WS1 in perspective P1.
all set to working set WS2 in perspective P2.
That way, you should be able to switch perspective, effectively switching working set at the same time.