Skip to content

Commit d65d1f8

Browse files
authored
DOCSP-45692-intellij-final-cleanup (#15)
* DOCSP-45692-intellij-final-cleanup * * * * * * * edit learn more links * * * * * SO feedback * * * image sizing * image sizing * *
1 parent 4f16de3 commit d65d1f8

13 files changed

+75
-59
lines changed

snooty.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name = "intellij"
22
title = "MongoDB for IntelliJ Plugin"
33

44
intersphinx = [ "https://www.mongodb.com/docs/manual/objects.inv",
5-
"https://www.mongodb.com/docs/atlas/objects.inv"
5+
"https://www.mongodb.com/docs/atlas/objects.inv",
6+
"https://www.mongodb.com/docs/mongodb-shell/objects.inv"
67
]
78

89
toc_landing_pages = [

source/autocomplete.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Autocomplete
2626

2727
The {+intellij-full+} provides autocomplete suggestions for database,
2828
collection, or field names based on the connected data source. For example,
29-
when you type a field name in a query, the plugin analyzes the MongoDB
29+
when you start typing a field name in a query, the plugin analyzes the MongoDB
3030
collection and document schema to automatically suggest valid field names.
3131

3232
To use the autocomplete feature, start typing in a document field, collection,
@@ -42,7 +42,7 @@ method of a ``MongoClient`` instance.
4242

4343
The {+intellij-short+} displays a drop-down list of available database names,
4444
denoted by the ``MongoDB Database`` text and the database icon, as shown in
45-
the image below:
45+
the following image:
4646

4747
.. image:: /images/database-autocomplete.png
4848
:alt: Autocomplete database names in the IntelliJ Plugin.
@@ -56,7 +56,7 @@ method of a ``MongoClient`` instance.
5656

5757
The {+intellij-short+} displays a drop-down list of available collection names,
5858
denoted by the ``MongoDB Collection`` text and the collection icon, as shown in
59-
the image below:
59+
the following image:
6060

6161
.. image:: /images/collection-autocomplete.png
6262
:alt: Autocomplete collections names in the IntelliJ Plugin.
@@ -88,8 +88,8 @@ methods:
8888
- ``updateOne``
8989

9090
The {+intellij-short+} displays a drop-down list of available field names,
91-
denoted by their data type and the document icon. For example, the image
92-
below shows autocomplete suggestions for fields that start with ``rat`` in the
91+
denoted by their data type and the document icon. For example, the following
92+
image shows autocomplete suggestions for fields that start with ``rat`` in the
9393
``sample_mflix.movies`` collection:
9494

9595
.. image:: /images/document-autocomplete.png

source/connect.txt

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Connect to Your MongoDB Deployment
2020
:depth: 1
2121
:class: singlecol
2222

23-
This task page shows you how to connect to your MongoDB deployment using
23+
On this page, you'll learn how to connect to your MongoDB deployment using
2424
the {+intellij-full+}.
2525

2626
.. note:: MongoDB Atlas
@@ -32,11 +32,11 @@ the {+intellij-full+}.
3232
copyable URI to easily connect the {+intellij-short+} to your
3333
deployment.
3434

35-
Prerequisites
36-
-------------
35+
Before You Begin
36+
----------------
3737

3838
Ensure that an instance of MongoDB is running and the {+intellij-short+}
39-
is installed.
39+
is :ref:`installed <intellij-install>`.
4040

4141
Steps
4242
-----
@@ -51,6 +51,7 @@ Steps
5151

5252
.. image:: /images/connect/intellij-database-explorer.png
5353
:alt: Click the Database Explorer icon.
54+
:width: 600px
5455

5556
.. step:: Select MongoDB as the data source.
5657

@@ -59,6 +60,7 @@ Steps
5960

6061
.. image:: /images/connect/intellij-select-data-source.png
6162
:alt: Click the + button > Data Source > MongoDB.
63+
:width: 600px
6264

6365
.. step:: Enter your connection string.
6466

@@ -74,14 +76,14 @@ Steps
7476

7577
.. step:: (*Optional*) Select databases to load.
7678

77-
You should see the connected MongoDB data source in Database
78-
Explorer.
79+
Find the connected MongoDB data source in Database Explorer.
7980

8081
You can load as many databases as you’d like by clicking on
81-
``1 of 11`` text as shown below:
82+
``1 of 11`` text as shown in the following image.
8283

8384
.. image:: /images/connect/intellij-select-databases-to-load.png
8485
:alt: Select the databases to load.
86+
:width: 600px
8587

8688
.. step:: Select a data source using the Connections Toolbar.
8789

@@ -90,12 +92,12 @@ Steps
9092
from within the editor window.
9193

9294
When you open a file that contains MongoDB code, a toolbar appears at
93-
the top of the file as shown in the image below.
95+
the top of the file as shown in the following image.
9496

9597
.. image:: /images/connect/intellij-connections-toolbar.png
9698
:alt: The Connections Toolbar appears at the top of the file.
9799

98-
This toolbar has a drop-down that allows you to select a data source
100+
This toolbar has a drop-down menu that allows you to select a data source
99101
associated with your application.
100102

101103
For the best experience, the data source you select should
@@ -112,11 +114,16 @@ Steps
112114

113115
.. image:: /images/connect/intellij-launch-playgrounds.png
114116
:alt: To launch the Playgrounds, click the highlighted button in Database Explorer.
115-
117+
:width: 600px
116118

117119
Next Steps
118120
----------
119121

120-
- :ref:`<intellij-type-validation>`
121122
- :ref:`<intellij-autocomplete>`
123+
- :ref:`<intellij-type-validation>`
122124
- :ref:`<intellij-index-warning>`
125+
126+
Learn More
127+
----------
128+
129+
- :ref:`mongodb-uri`

source/db-reference-validation.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,11 @@ The sample code attempts to call a ``restaurant_name`` collection:
100100
Because the collection doesn't exist in the ``sample_mflix`` database, the
101101
{+intellij-short+} raises a warning that the collection cannot be resolved:
102102

103-
``Cannot resolve "restaurant_name" collection in "sample_mflix" database in the
104-
connected data source.``
103+
.. code-block:: none
104+
:copyable: false
105+
106+
Cannot resolve "restaurant_name" collection in "sample_mflix" database in the
107+
connected data source.``
105108

106109
To resolve the warning, reference a collection that exists in the
107110
``sample_mflix`` database:
@@ -122,3 +125,4 @@ Learn More
122125

123126
- :ref:`intellij-connect`
124127
- :ref:`intellij-autocomplete`
128+
- :ref:`intellij-type-validation`
Loading
Loading

source/index-warning.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,5 @@ To disable the index warning in the plugin:
115115
Learn More
116116
----------
117117

118-
- :ref:`intellij-connect`
119-
- :ref:`intellij-autocomplete`
120-
- :ref:`intellij-type-validation`
118+
- :ref:`indexes`
119+
- :ref:`Operational Factors and Data Models <data-model-indexes>`

source/index.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The {+intellij-short+} currently supports the following features:
4040
- :ref:`Database reference validation <intellij-db-reference-validation>`.
4141
- :ref:`Type validation <intellij-type-validation>` of document fields.
4242
- :ref:`Missing index warnings <intellij-index-warning>` for Java queries.
43-
- :ref:`Run Java Queries <intellij-run-java-queries>` directly in the
43+
- :ref:`Running Java queries <intellij-run-java-queries>` directly in the
4444
Database Explorer Playgrounds.
4545

4646
Get Started
@@ -55,10 +55,10 @@ Get Started
5555
Submit Feedback
5656
---------------
5757

58-
To report a bugs, request a feature, or submit general feedback, open a
58+
To report bugs, request a feature, or submit general feedback, open a
5959
ticket in the `MongoDB for IntelliJ Plugin JIRA project <https://jira.mongodb.org/projects/INTELLIJ/issues/>`__.
6060

61-
To learn more about submitting feedback, see :ref:`intellij-submit-feedback`.
61+
To learn more, see :ref:`intellij-submit-feedback`.
6262

6363
.. toctree::
6464
:titlesonly:

source/install.txt

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ Install the MongoDB for IntelliJ Plugin
2323
To install the {+intellij-full+} from the JetBrains Marketplace, follow the
2424
steps on this page.
2525

26-
Prerequisites
27-
-------------
26+
Before You Begin
27+
----------------
2828

29-
To install the {+intellij-short+}, ensure that you install IntelliJ IDEA
30-
Ultimate 2024.1.1 or later.
29+
Ensure that you install IntelliJ IDEA Ultimate 2024.1.1 or later.
3130

3231
To check your current version of IntelliJ IDEA, open the
3332
:guilabel:`IntelliJ IDEA` system menu and click :guilabel:`About IntelliJ IDEA`.
@@ -43,17 +42,18 @@ Steps
4342
Open the :guilabel:`IntelliJ IDEA` system menu and click
4443
:guilabel:`Settings`.
4544

46-
Alternatively, you can press :kbd:`Cmd` + :kbd:`,` on macOS or
47-
:kbd:`Ctrl` + :kbd:`Alt` + :kbd:`S` on Windows and Linux.
45+
Alternatively, press :kbd:`Cmd` + :kbd:`,` on macOS or :kbd:`Ctrl` +
46+
:kbd:`Alt` + :kbd:`S` on Windows and Linux.
4847

49-
.. step:: Show the Plugins tab.
48+
.. step:: Show the Plugins settings.
5049

5150
In the left-hand navigation column, click :guilabel:`Plugins`.
5251

5352
.. step:: Open the Custom Plugin Repositories modal.
5453

5554
Click the gear icon next to the :guilabel:`Installed` tab to open a
56-
drop-down menu and select :guilabel:`Manage Plugin Repositories`.
55+
drop-down menu. In the drop-down menu, select
56+
:guilabel:`Manage Plugin Repositories`.
5757

5858
.. image:: /images/intellij-plugin-settings.png
5959
:alt: Click the gear icon to open the plugin settings.
@@ -71,13 +71,13 @@ Steps
7171

7272
.. step:: Click OK and Restart the IDE.
7373

74-
After you restart the IDE, open the :guilabel:`Settings` and
75-
navigate to the :guilabel:`Plugins` menu again.
74+
After you restart the IDE, open the :guilabel:`Settings` menu and
75+
click :guilabel:`Plugins` again.
7676

7777
.. step:: Search for the MongoDB Plugin.
7878

79-
In the :guilabel:`Marketplace` tab of the :guilabel:`Plugins` menu, search
80-
for ``MongoDB``.
79+
In the :guilabel:`Marketplace` tab of the :guilabel:`Plugins` settings,
80+
search for ``MongoDB``.
8181

8282
.. important::
8383

@@ -90,8 +90,7 @@ Steps
9090

9191
.. step:: Click the Install button.
9292

93-
After you install the {+intellij-short+}, click :guilabel:`OK` in the
94-
bottom right-hand corner of the :guilabel:`Settings` menu.
93+
After you install the {+intellij-short+}, click :guilabel:`OK`.
9594

9695

9796
Next Steps

source/logs.txt

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,30 +27,37 @@ About This Task
2727
---------------
2828

2929
Log files help the MongoDB development team diagnose bugs in the
30-
{+intellij-short+}. When you retrieve log files, IntelliJ generates a zip with
30+
{+intellij-short+}. When you retrieve logs, IntelliJ generates a zip file with
3131
the following contents:
3232

3333
- General information about the IDE installation such as version, host OS, host
34-
CPU, available memory, other plugins that might affect current functionality.
34+
CPU, available memory, and other plugins that might affect current
35+
functionality.
3536
- Thread dumps of the current state of IntelliJ.
3637
- Internal state of the UI.
3738
- OpenTelemetry metrics from IntelliJ.
38-
- Logs of all the plugins, including the {+intellij-full+}.
39+
- Logs of all plugins, including the {+intellij-full+}.
3940

4041
Steps
4142
-----
4243

4344
.. procedure::
4445
:style: normal
4546

46-
.. step:: In the IntelliJ top menu bar, click Help.
47+
.. step:: Open the Help menu.
48+
49+
In the IntelliJ top menu bar, click :guilabel:`Help`.
50+
51+
.. step:: Click Collect Logs and Diagnostic Data.
4752

48-
.. step:: In the Help menu, click Collect Logs and Diagnostic Data.
49-
53+
In the drop-down menu, click :guilabel:`Collect Logs and Diagnostic Data`.
54+
5055
A pop-up warning appears, mentioning that the collected information might
5156
contain sensitive data.
5257

53-
.. step:: Click Show in Finder.
58+
.. step:: Download the log files.
59+
60+
Click Show in Finder.
5461

5562
Learn More
5663
----------

0 commit comments

Comments
 (0)