Sublime text change find results panel - sublimetext

Somehow my find results started showing up on the bottom panel of sublime text instead of the normal, larger, main panel. i can't seem to figure out how to change it back.
i tried asking google, and looking through the preferences. help!

There's a button in the Find in Files panel that controls whether the find results are displayed in a Buffer or in a Panel. You want that to be set to the Buffer setting, so probably you inadvertently changed the setting.
To fix it, open up the Find in Files panel and ensure that the appropriate button is pressed. Below is an example based on the standard Adaptive theme in Sublime Text; the icon may be different for you if you're using a different theme, but the placement will be the same.

Related

How To Show Full Directory Name On Task Bar For Grouped Directories on Windows 10

I am using Windows 10 and frequently have a lot of directories open at once. I have always been annoyed that the directory names, when you hover on the task bar, do not show the full path. Since many of my clients have directories called docs it becomes a bit of a challenge to go searching. I was wondering how to show the full directory on hover.
I finally figured this out. I felt fairly stupid once I solved it, and for anyone out there that is hung up on this issue and not having a lot of luck Googling.
Launch Any File Explorer window.
Click The View option at the top left.
Next click the options button.
Open the "View" tab.
Finally check the box that shows "Display the full path in the title
bar" and then click "apply" & ok (NOTE: You can also click apply to all folders)
The only caveat is that it does make your user interface a bit more cluttered but once you get use to it, it is not that bad.
Here are some images I put together to hopefully help someone like me that is stuck on this simple task:
Default Taskbar Stacked View:
Open Any File Explorer Window:
Options Dialog:

How to change FileMerge's font/settings/preferences?

For some time now, I can't change FileMerge's font. Then it suddenly started using a Helvetica-like font (sans serif, variable width) for files it doesn't recognize (like typescript source files). That could be changed temporarily to monaco by changing the font to ... Helvetica. Yes, it's very weird.
But now, it shows all text white on white, and only the changed section is visible because of the different background and I cannot change it. I've tried to locate all the pref files, and reinstalled Xcode, but the text remains white on white.
Does anyone know how to change that, or where which (pref) file to change?
It could be a write permission issue, since I'm running it from a non-admin account.
Thanks.
This feature is completely broken, so you have to edit the theme file manually. It's located here:
~/Library/Developer/FileMerge/UserData/FontAndColorThemes/Default.xccolortheme
The file itself is plaintext XML. Even though it's pretty straightforward, I recommend backing it up first.
For example, if you want to increase the font size from "11.0" to "14.0", just do a find and replace.
You might be tempted to copy in a theme from Xcode. Don't bother. The font sizes don't appear to take effect, and FileMerge expects a white background, so darker themes won't work correctly.
The other answers didn't work for me (as I didn't have any theme files), but the following did:
Open FileMerge
Go to Preferences
Click the 'Set...' button under 'Font'
Click the top of the Fonts window so that it gets focus (this is the key step - if the Fonts window doesn't get focus the changes won't stick). If the Fonts window has focus, you should see your changes reflected in the FileMerge Preferences window live as you make them.
The solution was to delete the folder ~/Library/Developer/FileMerge. It did not solve the font problem (typescript files rendered with proportional font of different size, which causes problems for long files).
For me also the font panel settings have no effect at all. Same problem in XCode "Font & Colors" preferences.
For your colors problem, I would try quitting FileMerge, archiving the preference file, and relaunching:
mv ~/Library/Preferences/com.apple.FileMerge.plist ~/Library/Preferences/com.apple.FileMerge.plist.backup
FileMerge has a XCFontAndColorCurrentTheme setting:
defaults read com.apple.FileMerge XCFontAndColorCurrentTheme
I've tried setting that:
defaults write com.apple.FileMerge XCFontAndColorCurrentTheme "Presentation.xccolortheme"
But I don't see a difference. So maybe Apple is in the middle of revising this feature.
In addition to the answers already given, if those do not work, check that the files you are comparing are plain text and not rich text. If they're rich text, file merge will get the font attributes from the files themselves, hence you will not be able to affect the size of the font. You could instead open the files in a text editor and either convert them to plain text, or increase the size of the font manually.
None of this helped in my case on Big Sur, but this did the job. Requires sudo throughout so be careful.
Make a copy of a theme within the xcode bundle:
sudo cp "/Applications/Xcode.app/Contents/SharedFrameworks/DVTUserInterfaceKit.framework/Versions/A/Resources/FontAndColorThemes/Default (Light).xccolortheme" "/Applications/Xcode.app/Contents/SharedFrameworks/DVTUserInterfaceKit.framework/Versions/A/Resources/FontAndColorThemes/fileComp.xccolortheme"
Edit (in xcode for example) ~/Library/Preferences/com.apple.FileMerge.plist. Select the new theme by setting the XCFontAndColorCurrentTheme value to fileComp.xccolortheme
Edit the font values in new theme file fileComp.xccolortheme. Quit and restart FileMerge each time to apply.

Change color of caret in sublime text 3

Trying to configure a custom caret color..Here is what I have done so far but had no result in a successful output..
I have dowloaded the PackageResourceViewer and gone into my theme and changed the <key>caret</key> <string>#F8F8F0</string> to my own custom hex color.
Once this is done I then overwrite the current theme by choosing save as and restarting Sublime Text. After restart, I see no change made to the caret...Hmmm
I have also followed this post on
How do I edit the Solarized (Light) theme in Sublime Text 3
Any one have and suggestions? I would greatly appreciate your help.
When you say you "gone into your theme", did you open or extract? By open, you are essentially viewing a read-only version, so saving it doesn't do anything really.
If you do extract it, try saving it into your user folder, then make sure you choose it via the preferences menu

Turn Off XAML error underlining

This is a simple issue, and I hope someone can help
For reasons I don't think I need to explain, my XAML thinks it has some errors in it in the Visual Studio code editor (which shows as wavy blue underlines across most of my XAML).
Does anyone know how to turn this underlining off in Visual Studio 2012 ?
It's incredibly annoying, and makes my XAML hard to read
Thanks
I would suggest setting the editor for .xaml-files manually.
Go into
Tools->Options->Text Editor->File Extension
Write xaml in the Extension field and choose XML (Text) Editor from the Editor drop down and then click Add.
Your XAML files should now open as ordinary XML files, without error underlining.
You will probably loose a lot of the nice to have features of the XAML editor, but as far as I know (I've struggled a bit with this myself) it is the only way.
Found this on MSDN. There is a specific setting to disable this.
Open the Options dialog by selecting Tools > Options, and then select
Text Editor > XAML > Miscellaneous.
Uncheck the Show errors detected
by the XAML designer check box.
Article from MSDN
It is possible to hide the SquiggleShape by making the surrounding adornment layer hidden or collapsed using the Snoop tool.
To achieve this, the Snoop crosshair tool has to be dragged on the editor window with shift and ctrl keys pressed (keep them pressed a while when releasing mouse button). You should end on some Canvas (with the editor window highlighted), and below there is some ViewStack. Inside, there are some AdornmentLayer, one of which contains multiple SquiggleShape. In the properties section on the right side of the Snoop window, scroll to the Visibility row and select the value Hidden or Collapsed. Now, the squiggle lines are not visible any more.
This involves some manual work, but as long as the file stays open, the squiggle lines are hidden. In principle, it should be possible to write an extension which hides the lines automatically. However, at the moment I don't find the time to do this...
The only decent fix for this silly bug that I can find is right click on the xaml and click open with. Select source code editor (without with encoding). Not a great fix when you consider it gets rid of important errors. But it should help you read it better for the most part.
Another Option for this is to change the color of the line under: Tools > Options > Environment > Fonts and Colors. Change it to the same as the background.
It will turn it off in all other editors also though.

How can I customize the appearance of the tab control in Win32?

I need to use Win32 to manage a tab control. Managing tabs in Win32 is not very difficult, but I want to change the look of tabs, eg add an 'x' button on the tab to close it, change the color of the tab, etc. Can anyone tell me if there is any open source code available for this? What is the easiest and fastest way to get this done?
You'll need to owner draw the tab control if you wish to customize its appearance.
You can find information about that here on MSDN: About Tab Controls: Owner-Drawn Tabs

Resources