Usa Cloud Source Repositories en Cloud Code para IntelliJ
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Mediante Cloud Code, puedes agregar proyectos nuevos a Cloud Source Repositories y revisar los proyectos existentes.
Antes de comenzar
Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Para subir tu código a Cloud Source Repositories desde Cloud Code, sigue estos pasos
Abre el proyecto que desees agregar a Cloud Source Repositories.
Haz clic en VCS > Upload to Cloud Source Repositories. También puedes navegar en el menú a Herramientas>Google Cloud Code>Subir a Cloud Source Repositories.
En el cuadro de diálogo, usa el menú desplegable para seleccionar el Cloud Project (Proyecto de Cloud) asociado con tu proyecto.
Usa el menú desplegable para seleccionar tu Cloud Repository.
Si no tienes un repositorio o si deseas crear uno nuevo, haz clic en Create a new cloud repository (Crear un Cloud Repository nuevo).
Cloud Code abre una nueva ventana del navegador en la consola deGoogle Cloud para que puedas crear el repositorio nuevo.
De forma predeterminada, Cloud Code establece el Remote Name (Nombre remoto). Puedes ingresar otro en el campo New Remote Name (Nombre remoto nuevo).
Haz clic en Subir.
Desarrollo
Para otras operaciones, como confirmar y enviar cambios nuevos, navega a VCS>Ventana emergente de operaciones de VCS.
Explora los archivos fuente
Después de subir tu código fuente, explora el código en la consola de Google Cloud :
En la barra de búsqueda, busca Cloud Source Repositories.
Consultar el código fuente
Revisa el código fuente en Cloud Source Repositories:
Selecciona VCS > Obtener desde control de versiones. Como alternativa, ve al diálogo de bienvenida y haz clic en Get from VCS.
Selecciona Google Cloud en el menú desplegable Control de versión y haz clic en Clonar.
En el cuadro de diálogo Clonar desde Google Cloud, selecciona el Proyecto de Cloud asociado con tu proyecto.
Selecciona tu Cloud Repository.
Selecciona el Parent Directory (Directorio superior).
Ingresa el Directory Name (Nombre del directorio).
Haz clic en Clonar.
De forma alternativa, puedes salir de la pantalla Bienvenido. Para ello, selecciona Obtener del control de versiones y elige Google Cloud en el menú desplegable Control de versiones. Esto muestra el cuadro de diálogo Clonar desde Google Cloud.
Obtenga asistencia
Para enviar comentarios o informar un problema en tu IDE de IntelliJ, ve a Tools > Cloud Code > Help / About > Submit feedback or report an issue para informar un problema en GitHub.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-05 (UTC)"],[[["\u003cp\u003eCloud Code allows you to upload existing projects to Cloud Source Repositories directly from your IDE.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a new Cloud Repository if one doesn't exist during the upload process.\u003c/p\u003e\n"],["\u003cp\u003eAfter uploading, you can browse your source code in the Google Cloud console by searching for \u003ccode\u003eCloud Source Repositories\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eCloud Code enables you to check out source code from Cloud Source Repositories via the "Get from Version Control" option, either in the VCS menu or the welcome screen.\u003c/p\u003e\n"],["\u003cp\u003eFor feedback or issues, you can use the "Submit feedback or report an issue" option in the IDE's Cloud Code menu to report directly to GitHub.\u003c/p\u003e\n"]]],[],null,["# Use Cloud Source Repositories in Cloud Code for IntelliJ\n\nThrough Cloud Code, you can add new projects to\n[Cloud Source Repositories](/tools/cloud-repositories/docs) and check out\nexisting projects.\n| **Note:** The following IDEs support this feature:\n|\n| - IntelliJ IDEA - Ultimate\n| - IntelliJ IDEA - Community\n| - [Other IntelliJ Platform-based IDEs](/code/docs/intellij/ides)\n\nBefore you begin\n----------------\n\n- Sign in to your Google Cloud account. If you're new to Google Cloud, [create an account](https://console.cloud.google.com/freetrial) to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\nUpload source code\n------------------\n\nUpload your code to Cloud Source Repositories from Cloud Code:\n\n1. Open the project you want to add to Cloud Source Repositories.\n\n2. Click **VCS** \\\u003e **Upload to Cloud Source Repositories** . Alternatively, in\n the menu, navigate to **Tools** \\\u003e **Google Cloud Code** \\\u003e\n **Upload to Cloud Source Repositories**.\n\n3. In the dialog, use the drop down menu to select the **Cloud Project**\n associated with your project.\n\n4. Use the drop down menu to select your **Cloud Repository**.\n\n 1. If you don't have a repository, or if you want to create a new one, click\n **Create a new cloud repository**.\n\n Cloud Code opens a new browser window to the\n Google Cloud console so that you can create the new repository.\n5. By default, Cloud Code sets the **Remote Name** . You can enter\n a different name in the **New Remote Name** field.\n\n6. Click **Upload**.\n\nDevelopment\n-----------\n\nFor other operations such as committing and pushing new changes, navigate to\n**VCS** \\\u003e **VCS Operations Popup**.\n\nBrowse source files\n-------------------\n\nAfter uploading your source code, browse the code in the Google Cloud console:\n\n1. In the [Google Cloud console](https://console.cloud.google.com/), select the project that\n contains your source code.\n\n2. In the search bar, search for `Cloud Source Repositories`.\n\nCheck out source code\n---------------------\n\nCheck out source code from Cloud Source Repositories:\n\n1. Choose **VCS \\\u003e Get from Version Control** . Alternatively, go to the welcome dialog and click **Get from VSC**.\n2. Select **Google Cloud** from the **Version Control** drop-down and click **Clone**.\n3. In the **Clone from Google Cloud** dialog, select the **Cloud Project** associated with your project.\n4. Select your **Cloud Repository**.\n5. Select the **Parent Directory**.\n6. Enter the **Directory Name**.\n7. Click **Clone**.\n\nYou can alternatively check out from the **Welcome** screen by selecting\n**Get from Version Control** and choosing **Google Cloud** from the\nVersion Control drop-down. This displays the **Clone from Google Cloud** dialog.\n\nGet support\n-----------\n\nTo submit feedback or report an issue in your IntelliJ IDE, go to **Tools** \\\u003e **Cloud Code** \\\u003e **Help / About** \\\u003e **Submit\nfeedback or report an issue** to report an issue on [GitHub](https://github.com/GoogleCloudPlatform/cloud-code-intellij/issues)."]]