Default files to a given zoom level depending on file type

The Welkin Suite Forum

Default files to a given zoom level depending on file type



Default files to a given zoom level depending on file type

  • Please log in to reply

#1

kurtfairfield

    Posted 16 Jan 2017

    I would like to have files open a specific zoom level depending on the file extension.  Is there a way to have this occur in the TWS? Currently it always opens as 100%, even if the last save of the IDE environment was set to a different zoom level.

    Hopefully there is a way to have some default control over this.




    6 replies to this topic

    #2

    vlgubanovich

      Posted 18 Jan 2017

      Hi Kurt,

      Thank you for sharing this idea with us. We will add this feature to the backlog and consider developing it in the future.

      However, in the meantime, I can propose you a solution which will partially implement your request.

      You can download the Global Zoom Level extension from the Microsoft Visual Studio Gallery here. Once you download this extension you will need to do the following steps to get it working in The Welkin Suite:

      1. You can change the extension of the file to ".zip" and unzip it. Alternatively, you can directly unzip the content of this file with any archiving software that supports this (for example, 7-Zip)
      2. Once you extract the content of the archive you will have the folder called "GlobalZoomLevel" - copy and paste it to The Welkin Suite's installation directory under the "Extensions" folder (by default this should be "C:\Program Files (x86)\The Welkin Suite\The Welkin Suite\Extensions")
      3. Restart The Welkin Suite

      After installing this extension you will have the same zoom level for all files in The Welkin Suite's editors and it will be persisted between different sessions. I have done some testing of this solution and it worked well.

      Please note that the given extension is a 3rd-party solution and we can not guarantee 100% proper work. In addition, there might be a situation that after updating The Welkin Suite you will have to repeat this steps in order to get this extension working again as we do not yet officially support Microsoft Visual Studio 2013 extensions.


      Please let me know if this helps.


      Thank you,

      Vladimir



      Vladimir Gubanovich
      Head of Product
       
      The Welkin Suite
      skype id: vladimir.gubanovich
      e-mail: vladimir.gubanovich@welkinsuite.com


      #3

      kurtfairfield

        Posted 19 Jan 2017

        Thanks Vlad.  Would not install due to wrong .NET version.


        I downloaded and installed, however there is an error saying incorrect .NET version installed, doesn't say which version is required unfortunately.

        I have these .NET Frameworks installed.  See the attached picture for my MS Program Stack...


        .NET Framework 4.5 Multi-Targeting Pack

        .NET Framework 4.5 SDK

        .NET Framework 4.5.1 Multi-Targeting Pack

        .NET Framework 4.5.1 Multi-Targeting Pack (ENU)

        .NET Framework 4.5.1 SDK 

         

        Here is the install log.

        2017-01-18 4:00:01 PM - Microsoft VSIX Installer

        2017-01-18 4:00:01 PM - -------------------------------------------

        2017-01-18 4:00:01 PM - Initializing Install...

        2017-01-18 4:00:02 PM - Extension Details...

        2017-01-18 4:00:02 PM -         Identifier      : GlobalZoomLevel..ac54b4ac-5e7f-482d-946d-d0bd4fe279ae

        2017-01-18 4:00:02 PM -         Name            : Global Zoom Level

        2017-01-18 4:00:02 PM -         Author          : Chris McAllen

        2017-01-18 4:00:02 PM -         Version         : 1.1

        2017-01-18 4:00:02 PM -         Description     : Makes the editor zoom level apply globally across all editor windows.

        2017-01-18 4:00:02 PM -         Locale          : en-US

        2017-01-18 4:00:02 PM -         MoreInfoURL     :

        2017-01-18 4:00:02 PM -         InstalledByMSI  : False

        2017-01-18 4:00:02 PM -         SupportedFrameworkVersionRange : [4.5]

        2017-01-18 4:00:02 PM -

        2017-01-18 4:00:02 PM -         Supported Products :

        2017-01-18 4:00:02 PM -                 Microsoft.VisualStudio.Pro

        2017-01-18 4:00:02 PM -                         Version : [12.0,13.0)

        2017-01-18 4:00:02 PM -                 Microsoft.VisualStudio.Premium

        2017-01-18 4:00:02 PM -                         Version : [12.0,13.0)

        2017-01-18 4:00:02 PM -                 Microsoft.VisualStudio.Ultimate

        2017-01-18 4:00:02 PM -                         Version : [12.0,13.0)

        2017-01-18 4:00:02 PM -

        2017-01-18 4:00:02 PM -         References      :

        2017-01-18 4:00:02 PM -

        2017-01-18 4:00:02 PM - Searching for applicable products...

        2017-01-18 4:00:02 PM - Input string was not in a correct format.

        2017-01-18 4:00:02 PM - Found installed product - Microsoft Visual Studio Community 2013

        2017-01-18 4:00:04 PM - The extension with ID 'GlobalZoomLevel..ac54b4ac-5e7f-482d-946d-d0bd4fe279ae' is not installed to Microsoft Visual Studio Community 2013.

        2017-01-18 4:00:04 PM - Found installed product - Microsoft Visual Studio 2013 Shell (Integrated)

        2017-01-18 4:00:04 PM - Found installed product - Global Location

        2017-01-18 4:00:06 PM - The following target products have been selected...

        2017-01-18 4:00:06 PM -         Microsoft Visual Studio Community 2013

        2017-01-18 4:00:06 PM -

        2017-01-18 4:00:06 PM - Beginning to install extension to Microsoft Visual Studio Community 2013...

        2017-01-18 4:00:06 PM - Install Error : Microsoft.VisualStudio.ExtensionManager.MissingTargetFrameworkException: The extension 'Global Zoom Level' requires a version of the .NET Framework that is not installed.

           at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.CheckForValidDotNetFramework(IExtension extension)

           at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.CheckForInstallBlockers(InstallableExtensionImpl extension, IInstalledExtensionList modifiedInstalledExtensionsList, Boolean isNestedExtension, Boolean& olderVersionInstalled)

           at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallInternal(InstallableExtensionImpl extension, Boolean perMachine, Boolean isNestedExtension, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, UInt64 totalBytesToWrite, UInt64& totalBytesWritten)

           at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.BeginInstall(IInstallableExtension installableExtension, Boolean perMachine, AsyncOperation asyncOp)


           at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallWorker(IInstallableExtension extension, Boolean perMachine, AsyncOperation asyncOp)

         


        Attached Files


        #4

        vlgubanovich

          Posted 19 Jan 2017

          Hi Kurt,


          Thank you for the details. That extension should correctly work with .NET 4.5.

          However as I can see from the log file - you are trying to install the extension directly from the ".vsix" file. In order to install it to The Welkin Suite you should manually unzip it (by changing extension to ".zip") and put it contents in TWS's folder as per post 1 instructions.

          Can you please try it this way and let me know if it is working correctly?


          Thank you,

          Vladimir


          Vladimir Gubanovich
          Head of Product
           
          The Welkin Suite
          skype id: vladimir.gubanovich
          e-mail: vladimir.gubanovich@welkinsuite.com


          #5

          kurtfairfield

            Posted 19 Jan 2017

            Thanks Vlad, my bad, I should have read your instructions more clearly.  This meets my needs quite well, thanks for the assistance.




            #6

            kurtfairfield

              Posted 25 May 2017

              Vlad, I have downloaded and unzipped this folder, put the folder and its contents in the TWS Extensions folder, but doesn't seem to work. I was working before TWS stopped woriking for me a few months ago. Now on Bloom R1, the overall application now works again, but the extension does not. This is why I asked today if the feature had been implemented yet. I can see this being an issue for anyon working on UHD monitors over the age of 40. Setting my entire system to 125% dpi is not palatable for other reasons.

              I would normally be fine, but I literally have to adjust the zoom level on every single file, every time I open the editor. Gets tedious and seems like such a simple thing, change one environment parameter on startup...

              I realize this is not supported, but it is a usability issue for me. Any help would be appreciated.



              #7

              vlgubanovich

                Posted 02 Jun 2017

                Hi Kurt,


                Please sorry for a delay with getting back to you. I completely understand the issue with UHD monitors, even before 40 :)

                Can you please let me know if there's any errors when opening TWS? Or extension just doesn't work? If there's nothing shown to you - can you please send us a log file?

                Additionally, I'll share a solution found by one of our users (in that case there was an error mesage that files could not be loaded, however I'd try to do this in your case):
                In TWS installation folder find and open TheWelkinSuite.exe.config file and in the "runtime" section (see the attachment image) add new line - <loadFromRemoteSources enabled="true" />

                Please let me know if this helps or I'll take a look at your log files and will try to find out how to resolve the issue.

                Thank you,

                Vladimir


                Attached Files

                Vladimir Gubanovich
                Head of Product
                 
                The Welkin Suite
                skype id: vladimir.gubanovich
                e-mail: vladimir.gubanovich@welkinsuite.com





                Boost Your Productivity. Get Started Today

                Try Free Trial