Showing posts with label visual studio. Show all posts
Showing posts with label visual studio. Show all posts

Saturday, June 6, 2026

visual studio Antialiased font - ClearType - Greyscale

>  Go to Tool 

> Click on Option

>and click on Advanced

>There are 4 options 1)ClearType ) Greyscale ) Aliased


Also in itelliz (java ide) for java these are these options.

Tuesday, May 13, 2025

How to collapse and expand functions of class in Visual studio

 Ctrl+M+M


Or in visual studio go to Edit and outlining and there are different shortcuts for more commands.

Thursday, November 23, 2023

Wednesday, November 2, 2022

Difference between website and webapp

 In website we have codefile in aspx page

example

<%@ Page Title="" Language="C#" MasterPageFile="~/cms.Master" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="cadre_mgmt_system.WebForm2" %>


and in webapp there is codefile property in aspx page



In webapp there is designer file for each aspx page but in website there is no designer file for each aspx page.


For webapp ->When we click on build website, in visual studio-- dll files will be create in debug and bin folders.

Thursday, June 30, 2022

In Visual Studio intellisense is not comming intellisense not working in visual studio code

 >Open Visual Studio

>Right Click on Project in solution explorer

> Click on build

> Change the target framework to some other framework

Tuesday, June 28, 2022

How to stop visual studio from opening a file on single click?

 >Open Visual studio

>Click on Tools

>Click on Options>Environment>Tabs and windows

> Uncheck "preview tab"

> Click on OK

Friday, June 10, 2022

How to delete or remove blank lines in visual studio or SQL Server Management Studio

 

  1. Open your code in Visual Studio Code.
  2. From Edit Menu, select Replace or use a short cut key ( Ctrl + H on Windows)
  3. In the find box type ^(\s)*$\n.
  4. Leave the replace box empty.
  5. Make sure the 'Use Regular Expression' is selected.

Thursday, April 21, 2022

Word wrap in Visual Studio - Change large line of code to multiple line - large line to multiline

 Word wrap means that no use of horizontal scroll

>Click on Edit

> Click on Advance

>Click on Word Wrap to enable or disable it

> Check on 'show visual glyphs for word wrap'

Thursday, November 18, 2021

To display line numbers in Visual Studio

 >Go to visual Studio

> Click on tools

> Click on option

>Click on Text Editor

> Click on All languages

> Click on "Line number" (Check box)

Saturday, October 30, 2021

How to change the font size, font in Visual studio Text editor. Also we can change background color - Also we can change font size of Menu, solution explorer

 Shortcut key to increase the size of Text

Ctrl+Alt+Mouse scroll OR Ctrl+Mouse scroll 

And

>Goto Tools>Option

>Under environment>Font and colors

>You can change font here

-----------------------------*************---------------------

we can also change background color :-

Goto Tools>Option

>Under environment>Font and colors

>Click on Environment

>Click on item background

--------------------------------****************--------------------

To change the font size of solution explorer and menu

Goto Tools>Option

>Under environment>Font and colors

>Click on Environment

> Click on Plain text


reference:- https://docs.microsoft.com/en-us/visualstudio/ide/reference/how-to-change-fonts-and-colors-in-the-editor?view=vs-2019

Tuesday, October 26, 2021

In visual studio if "New Web Site" option is not showing - Visual studio installer

 >Click on File

>New Project

>In last, Click on Install more tools and features

>Click on checkbox(Additional project templates previous versions)

>At last click on modify.(screenshot below)


or

>Go to Tools>Click on 'Get tools and features' - It will show same window