Is it possible to have 'inlay hints' in Sublimetext (currently build 4143)? - sublimetext

I'm writing something in TypeScript (Deno) using VSCode and love the inlay hints. I would like to try using SublimeText again, but I don't want to lose the inlay hints.
It's possible in IntelliJ, VSCode. Is it not possible in ST?
https://forum.sublimetext.com/t/inlay-hints/54957/10
I followed the link that I pasted, followed the link where it says that something is standardised. Installed several packages, but no luck yet

As rwols said in the link you posted, inlay hints can now be enabled in the main LSP settings. Select Preferences → Package Settings → LSP → Settings and scroll down the left side a little ways to find
"show_inlay_hints": false,
Copy this over to the right side (the User settings), change false to true, save the file, and you should be all set. You may need to either restart your LSP servers or Sublime itself in order for it to be fully activated.

Related

Anyway to use someone else's neovim/vim keybindings config on VS Code

I have just migrated from Atom, there, I was using Vim-plus but now on VS Code I have switched to neovim, but the problem is, there are many conflicting keybindings.
I tried to change them manually (something like, to close editor, 'Ctrl+c+t', which I mapped to close editor's tab, similarly others).
But I feel that's very unproductive and also can cause strain in my fingers. So any suggestions, or keybindings config of anyone which I can use alongside the NeoVim to increase my productivity. Or any other suggestions how to properly configure my VS Code?
NOTE: I know about the existence of an Atom Keybindings Extension which I honestly don't care, as I was mainly using Vim keybindings there and never bother to learn atom specific keybindings.
If you want VS Code to act like VIM, which is super unique in its interface and keybindings, there is an extension called:
VSCode Vim
VSCode Vim's Marketplace ID: vscodevim.vim
Personally I can't stand the VIM keybindings, so I don't know how great the extension is, but I know people who use it. It has 2.4 million downloads and counting. I also know, because of my buddy, that its not perfect, but it's close.
As with any other extension, don't just install it and hope it's what you wanted "out-of-the-box", this theme is customizable, and requires you to configure it. Make sure you read the README.md, and set it up so you know that it is best suited for your expectations.
If you are already using the VSCode VIM Extension, and you find that you are having conflicting issues using the keybindings associated with it. You can troubleshoot them using the keybindings troubleshooting tool by selecting it from the quick input menu.
Press F1
Type the phrase: "Keyboard Shortcut Troubleshooting"
Select the option "DEVELOPER: Toggle Keyboard Shortcut Troubleshooting Tool"
The tool should open in the console below. The menu might look like gibberish at first, however; the output of the newly opened console should make more sense once you use a familiar keybinding. Make sure that the console window is scrolled to the bottom and opened wide enough so your able to read everything logged. The tool will tell you what is attached to the keybinding your using, so you can see any conflicts that are happening, and what the key is set to do by you, by extensions, and by default.
Make changes to your keybindings.json file as necessary.

Ask and answer dialogs don't appear after being compiled

In Windows 10, everything works perfectly in the Livecode editor (64 bit). However, after building/compiling, ask and answer dialogs are hidden or behind other items in the stack and do not show.
How can I fix this? I need answer and ask dialogs to appear like they should. I tried 32 bit - same problem.
I can't seem to find anything in the build options that would fix this.
Thank you for any help.
Mike
It is possible that the ask and answer dialog assets are not being included in the build. Try this:
Open the Standalone Application Settings from the File menu.
Go to the General tab.
Click the radio button "Select inclusions for the standalone application".
Go to the Inclusions tab.
Scroll down until you find the Answer Dialog and Ask Dialog options, and check those.
Re-build your project and see if that solves the problem. Please note that if you choose to select inclusions manually you will have to check all of the libraries, widgets, and other assets that you are using in the stack.
When the "Search for required inclusions" option is chosen in the General tab, the Standalone Application Builder is supposed to scan the stack contents and include everything that's needed automatically. But it doesn't always catch everything, so many experienced LiveCode developers always do this step manually.

How to prevent RubyMine editor from modifying files

I'm working with RubyMine 2017.1.3 on Linux and it appears that RubyMine has modified one of my files to better fit its own idea of formatting. That causes distracting changes in the files since I have to inspect the differences (as detected by Git) and see if they are changes that I meant to make or what.
Is there a way to prevent RubyMine from automatically modifying a file? I searched through the settings but I wasn't able to find anything.
Go into Preferences -> Editor -> Code Style -> Ruby and change the settings to match your existing code (e.g. line spacing, tab width, etc).
Make sure to pick the correct boxes when commiting changes.

How to make Eclipse's content assist behavior similar to Visual Studio's IntelliSence

I'm a C# developer and recently started to use Eclipse IDE to write Android apps. The most noticeable change for me is that content assist doesn't popup automatically. Is there a way to do so? In VS it pops up almost always.
P.S. And a more general question: how to make eclipse to look more like VS?
Hey the best solution I've found, in terms of getting eclipse to pop up for everything I type, is going into windows > preferences > java > editor > content assist and adjusting the trigger characters. It's normally only set to ".". I changed mine to ".(abcdefgh..." etc. It's not quite as beautiful a solution as I'm sure you'd like, but it does an acceptable job making sure I don't have to remember what I've named things.
Go to Windows -> Preferences -> Java -> Editor -> Content Assist and check "Enable auto activation".
And what do you mean by "look like VS"? Fonts, colors, ...?

Eclipse's tab double click on Visual Studio?

On Eclipse, whenever I double click a tab, it fills the workspace (by hiding all other views like project tree, console, etc).
Is there any way to do this on Visual Studio?
Note: i'm not looking for full screen, just want a way to declutter the workspace but still have access to menus.
Are you after this?
Set shortcuts for the Window.AutoHideAll function and for the Window.ResetWindowLayout function. In order for the ResetWindowLayout to work, you have to export your settings (make sure you select "All Settings") with all windows expanded and then import them again.
ResetWindowLayout will restore all windows to the way they were the last time you imported your settings.
Not with double click on tab, but you can do the same with Shift+Alt+Enter key combination.
This keyboard shorcut was changed to F11 from 1.9.1 vscode version.
All keyboard Shortcuts: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
I was looking for that, as well, and I now just got used to using full screen (Shift+Alt+Enter), which hides a little too much, which you seem to think, as well, but does in fact still show the menus.
Looks like drby got it on this one. Just FYI. I pinged the VS team to ask about this and here is the response:
"There is no way to reverse the command automatically. For it to work as a toggle we would need to save which toolwindows were auto hidden and which ones were not when the command was run, which we don’t do (it would cause lots of interesting persistence questions, across profiles and VS sessions)."
The idea of a "Unhide All" command is what I suggested. So if you hide all then you can unhide all as well. There might be some windows you don't want to unhide but the 1 or 2 extra windows is better than not having an unhide IMHO.

Resources