Intellisense for plugins menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Intellisense for plugins

    Project files to use in combination with :
    • Visual Studio Code, a lightweight & free editor.
    • VS2015 (Community or higher)
    • VS2017 (Community or higher)


    It will add intellisense when working on plugins :


    Prerequisites :


    VS Code :
    Installation :

    First use :

    • Open TurboHud folder in VS Code.
    • Open a .cs file, it will trigger Omnisharp package installation, wait until complete
    • if VS Code prompt you to restore dependencies, do it.
    • Enjoy intellisense !


    VS2017:



    VS2015:

    Last edited by JackCeparou; 08-05-2017 at 03:31 PM. Reason: update for vs2017
    Hide the Rum! --> Default theme customization 101 <--

    Intellisense for plugins
  2. #2
    d3gigi's Avatar Active Member
    Reputation
    52
    Join Date
    Mar 2017
    Posts
    55
    Thanks G/R
    12/49
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If I could click "thank you" twice - I'd do it.
    I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!

  3. #3
    everknown's Avatar Active Member
    Reputation
    17
    Join Date
    Jun 2012
    Posts
    121
    Thanks G/R
    33/11
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ugh, uninstalled VS2015 community and attempted to download new one only to find that it's no longer possible to download it from MS official site.Only VS2017 Community is available now
    So i went with VS Code, but i'm getting this error after i clicked Restore Dependencies.

    Code:
    c:\Users\****\Desktop\TBHD\project.json(1,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.
    Perhaps this guide needs to be updated?

  4. #4
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by everknown View Post
    ugh, uninstalled VS2015 community and attempted to download new one only to find that it's no longer possible to download it from MS official site.Only VS2017 Community is available now
    So i went with VS Code, but i'm getting this error after i clicked Restore Dependencies.

    Code:
    c:\Users\****\Desktop\TBHD\project.json(1,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.
    Perhaps this guide needs to be updated?
    You didn't search well enough, vs2015 community is still available in the dev essentials.
    Anyway, i reuploaded the installer with update 2 on zippyshare : Zippyshare.com - en_visual_studio_community_2015_with_update_2_x86_x64_web_installer_8486861.exe

    For the VSCode problem, this is probably an issue with the dotnet core tools not installed/ not up to date.
    Or you didn't updated the projects with the last project files (with a global.json)
    Last edited by JackCeparou; 05-05-2017 at 05:51 AM.
    Hide the Rum! --> Default theme customization 101 <--

  5. #5
    smoochy84's Avatar Member
    Reputation
    10
    Join Date
    Jul 2017
    Posts
    44
    Thanks G/R
    1/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Jack, once again thanks for all your work.

    I followed your instructions precisely. Installed the Prerequisites, installed VSCode with C# extension and I unzipped your file into the TurboHud base folder.


    I am not using VS Community 2015, but the VSCode.

    I also get the trigger, but when clicking on Restore I get the same message as everknown.

    Content of the project.json (as I am sure, you are aware of it):

    PHP Code:
    {
      
    "version""1.0.0-*",
      
    "buildOptions": {
        
    "debugType""portable",
        
    "emitEntryPoint"false
      
    },
      
    "dependencies": {
        
    "Newtonsoft.Json""9.0.1",
        
    "SharpDX""3.1.1",
        
    "SharpDX.Direct2D1""3.1.1",
        
    "SharpDX.Direct3D11""3.1.1",
        
    "SharpDX.DirectInput""3.1.1",
        
    "SharpDX.DXGI""3.1.1",
        
    "SharpDX.Mathematics""3.1.1"
      
    },
      
    "frameworks": {
        
    "net462": {
          
    "dependencies": {},
          
    "frameworkAssemblies": {
              
    "System""4.0.0-*",
              
    "System.Windows.Forms""4.0.0-*",
              
    "System.Xml""4.0.0-*",
              
    "System.Xml.Serialization""4.0.0-*",
              
    "System.Runtime""4.0.20.0",
              
    "System.Drawing""4.0.0-*"
          
    }
        }
      }

    Intellisense is working, so it is only kind of a cosmetic issue.

  6. #6
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mmh, that's weird.

    I just unzipped a fresh hud + my files (directly from the GitHub zip), that works :x
    I wonder if this come from an older .Net core tooling, my machine is configured as a dev machine and i have many versions installed...
    Hide the Rum! --> Default theme customization 101 <--

  7. #7
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you try this one ?

    Unzip to a fresh install or delete all from previous version, if you try to overwrite the previous files this will not work. (conflict between projects versions)
    JackCeparouCompass_TurboVS_2017.zip

    If it works i'll merge it to the master & update OP.

    Note :
    - no more compatible with VS2015
    - compatible with VS2017 & VSCode
    Last edited by JackCeparou; 08-03-2017 at 07:12 PM.
    Hide the Rum! --> Default theme customization 101 <--

  8. #8
    smoochy84's Avatar Member
    Reputation
    10
    Join Date
    Jul 2017
    Posts
    44
    Thanks G/R
    1/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    a) Downloaded a fresh copy of TH, unzipped into new folder. extracted your turbovs2017 files into that folder. Opened the folder in VSCode. Did not trigger the Restore window. Intellisense working though.

    b) erased all prior Intellisense files from current TH folder. extracted your turbovs2017 files into that folder. Opened the folder in VSCode. Did not trigger the Restore window. Intellisense working though.

  9. #9
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for testing, it's normal for the restore, i have changed the project type back to full .Net with the 'new' .csproj instead of project.json (the previous .NetCore format)

    OP updated with VS2017.
    Hide the Rum! --> Default theme customization 101 <--

  10. Thanks johnbl (1 members gave Thanks to JackCeparou for this useful post)
  11. #10
    g1xb17's Avatar Member
    Reputation
    2
    Join Date
    Aug 2017
    Posts
    11
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    The type or namespace name 'PowerResourceCostType' could not be found (are you missing a using directive or an assembly reference?)	__v7
    F:\THUD\interfaces\sno\ISnoPower.cs
    That normal?

  12. #11
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Normal is relative regarding this ;p

    it's a missing class in hud interfaces, no worries about this error (you can comment the line if you want)
    Hide the Rum! --> Default theme customization 101 <--

  13. Thanks g1xb17 (1 members gave Thanks to JackCeparou for this useful post)
  14. #12
    g1xb17's Avatar Member
    Reputation
    2
    Join Date
    Aug 2017
    Posts
    11
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JackCeparou View Post
    Normal is relative regarding this ;p

    it's a missing class in hud interfaces, no worries about this error (you can comment the line if you want)
    I figured out that the missing classes are in the Turbo dlls in the same directory. So basically just include them in the dependencies.

  15. #13
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    PowerResourceCostType.cs

    goes under interfaces\enums\PowerResourceCostType.cs

    content:

    namespace Turbo.Plugins
    {

    public enum PowerResourceCostType
    {
    primary, secondary, hitpoint
    }

    }
    will be included in next releases. sorry... next time PM me with this, Jack
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  16. #14
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, true ;p

    Thanks.
    Hide the Rum! --> Default theme customization 101 <--

  17. #15
    yuyangfan's Avatar Member
    Reputation
    1
    Join Date
    May 2018
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HI,How to add health bar of the elite monster?

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 01-02-2012, 08:27 AM
  2. [Bot] Archaeology Plugin For Honorbuddy
    By Aicd in forum World of Warcraft Bots and Programs
    Replies: 82
    Last Post: 01-10-2011, 04:48 PM
  3. Creating an IDA Plugin to search for floats
    By Tanaris4 in forum WoW Memory Editing
    Replies: 0
    Last Post: 09-09-2010, 11:29 AM
  4. Pattern verifier plugin for IDA
    By ostapus in forum WoW Memory Editing
    Replies: 7
    Last Post: 11-11-2009, 05:55 PM
  5. [Plugin whit tut] A little plugin for Photoshop i just found.[Big pic]
    By Lord-kapser in forum Art & Graphic Design
    Replies: 3
    Last Post: 12-03-2007, 04:15 PM
All times are GMT -5. The time now is 10:55 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search