Visual Studio 2019 preview

Visual Studio 2019 preview been out, changes that comes are-

  1. Start window
  2. UI refresh
  3. Search improvements
  4. Code cleanup
  5. Debugger Search

Start Window

A refreshed start window allows quickly to clone or checkout code or open a project or solution. Open a local folder and create a new project. Are able to open a most recent projects. Microsoft call this as “Start Window Experience” which allows developers to start quickly.

vs1

UI refresh – Create New project dialog

Devs are now able to search the project templates quickly and filter as per language, platform and project type.

vs2

Search improvements

Search bar is right at the top after the menus. Allows to search items very instantly provides suggestions if anything can be searched online.vs3

Code clean up

Now have a code clean up option can be configured to include fixers and clean up code if for any warnings or errors.

vs4

vs5

You may change the direction of rule- Tools > Options > Text Editor >  Code Style.

 

Sitecore- How to make an item bucket

When a item sites under a item Bucket the item should be made bucketable.

To make an item bucket see this link

Item can be made bucketable by two ways-

  1. Make the individual item bucketable
  2. Make the template of the item standard value that is based on bucketable.

Make the individual item bucketable

  1. Select the content item that needs to be made bucketable
  2. In the right hand side click the Content tab and see the Item Buckets Section.
  3. Select the Bucketable checkbox.
  4. Save changes.

bucket8

If the Item Buckets section is not visible, on the View tab, in the View group, select the Standard Fields checkbox.

Make the template of the item standard value that is based on bucketable

  1. Select the item template that needs to be made bucketable
  2. Expand the template and select _Standard Values item.
  3. In the right hand pane, click the content tab
  4. See the Item Buckets section
  5. Select the Bucketable checkbox.
  6. Save changes.

bucket7

Items of the selected template should be now bucketable.

Wondering why the existing items are still visible even after making the item bucketable and not hidden. See this post.

Sitecore – How to create item bucket

Item bucket it useful to store and manage large amount of content items without loading in Content tree. Item bucket can be created for a new content item or convert an existing item structure into an item bucket.

To create an item bucket-

  1. In Content Editor, in the content tree create a folder and give a suitable name
  2. Select the content item and then on Home tab, click Edit to lock the item
  3. Click the Configure tab and then in the Buckets group, click Bucket to convert the new item into an item bucket.

bucket4

When a content item is an item bucket, a new search tab appears in the right-hand pane. Use this to search the item(hidden) in the item bucket. Also an icon in the Quick Action Bar is displayed for the item bucketed.

How to enable item bucket in quick action bar

bucket6

Also the item bucketed in the Item Buckets section Is Bucket field is checked

bucket5

 

 

Sitecore Bucket- How to View hidden items

Sitecore buckets are useful to store and manage millions of items with in Content tree, retrieving them and working with them in a speedy and efficient manner.

Items within the bucketed item are hidden and searched to view or edit using Sitecore search engine.

bucket2

Even when the bucketable items are hidden in the item bucket you have option to view the items by selecting the Bucket checkbox in Content Editor, on the View tab, in the View Group

All items hidden in bucketed item-

bucket3

However it is recommended to clear the Buckets checkbox when working with buckets. This will prevent the system from loading unnecessarily all items in the content tree. Search tab can be used to find and work with the hidden content items.