Author Topic: C# 'using' statements being added.  (Read 1081 times)

scottposch

  • Junior Community Member
  • Posts: 5
  • Hero Points: 0
C# 'using' statements being added.
« on: July 16, 2021, 04:38:58 PM »
Whenever I add a certain call to one of my C# sources, SlickEdit automatically adds:
Code: [Select]
using Microsoft.VisualBasic.Logging; to the top of my file. It is incorrect and not desired. I cant find anywhere to disable this automatic adding of 'using' statements. Does anyone know how I can disable this? Ive looked in the settings and searched online but have had no luck.
Thank you!

Dennis

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
Re: C# 'using' statements being added.
« Reply #1 on: July 19, 2021, 09:21:42 PM »
Document > C# Options... > Organize Imports > Uncheck [ ] Automatically add using statement ...

scottposch

  • Junior Community Member
  • Posts: 5
  • Hero Points: 0
Re: C# 'using' statements being added.
« Reply #2 on: October 22, 2021, 05:28:08 PM »
Thank you so much.