Author Topic: C# 'using' statements being added.  (Read 341 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

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3471
  • Hero Points: 466
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.