CN113626045A - Method and device for installing development tool, electronic equipment and storage medium - Google Patents

Method and device for installing development tool, electronic equipment and storage medium Download PDF

Info

Publication number
CN113626045A
CN113626045A CN202110974485.4A CN202110974485A CN113626045A CN 113626045 A CN113626045 A CN 113626045A CN 202110974485 A CN202110974485 A CN 202110974485A CN 113626045 A CN113626045 A CN 113626045A
Authority
CN
China
Prior art keywords
configuration information
target
development tool
configuration
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110974485.4A
Other languages
Chinese (zh)
Inventor
甘振文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guahao Net Hangzhou Technology Co Ltd
Original Assignee
Guahao Net Hangzhou Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guahao Net Hangzhou Technology Co Ltd filed Critical Guahao Net Hangzhou Technology Co Ltd
Priority to CN202110974485.4A priority Critical patent/CN113626045A/en
Publication of CN113626045A publication Critical patent/CN113626045A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for installing a development tool, electronic equipment and a storage medium, wherein the method comprises the following steps: when an instruction for setting configuration information for a target development tool is received, determining a target configuration identifier corresponding to the target development tool; retrieving target configuration information consistent with the target configuration identifier from a remote repository; the remote warehouse stores the configuration information to be selected which is consistent with each configuration identifier to be selected; and configuring the target configuration information for the target development tool to obtain a usable development tool. The technical scheme of the embodiment of the invention solves the problems that all plug-ins need to be downloaded again and the plug-in configuration information is not uniform when the software is reinstalled in the prior art, and improves the software installation efficiency.

Description

Method and device for installing development tool, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to a computer application technology, in particular to a method and a device for installing a development tool, electronic equipment and a storage medium.
Background
Each time a developer changes a computer, the various software is reinstalled. All the plug-ins in the software need to be downloaded again, which is very troublesome.
At present, the vscode is an editor of most front-end developers, all previous plug-ins need to be downloaded again in the traditional installation method, and the configuration information of each plug-in is difficult to unify, so that the traditional software installation method greatly reduces the installation efficiency and the configuration accuracy.
Disclosure of Invention
The invention provides a method and a device for installing a development tool, electronic equipment and a storage medium, which are used for realizing automatic synchronization of software.
In a first aspect, an embodiment of the present invention provides a method for installing a development tool, where the method includes:
when an instruction for setting configuration information for a target development tool is received, determining a target configuration identifier corresponding to the target development tool;
retrieving target configuration information consistent with the target configuration identifier from a remote repository; the remote warehouse stores the configuration information to be selected which is consistent with each configuration identifier to be selected;
and configuring the target configuration information for the target development tool to obtain a usable development tool.
In a second aspect, an embodiment of the present invention further provides an apparatus for installing a development tool, where the apparatus includes:
the system comprises a configuration identifier determining module, a configuration identifier determining module and a configuration identifier determining module, wherein the configuration identifier determining module is used for determining a target configuration identifier corresponding to a target development tool when receiving an instruction for setting configuration information for the target development tool;
the configuration information calling module is used for calling the target configuration information consistent with the target configuration identifier from a remote warehouse; the remote warehouse stores the configuration information to be selected which is consistent with each configuration identifier to be selected;
and the configuration module is used for configuring the target configuration information for the target development tool to obtain a usable development tool.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the installation method of the development tool according to any one of the embodiments of the present invention.
In a fourth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are used for executing the installation method of the development tool according to any one of the embodiments of the present invention.
According to the embodiment of the invention, the configuration information of the target development tool to be deleted is uploaded to the remote warehouse for hosting and storing, and the target configuration information is called from the remote warehouse when the target development tool is reinstalled, so that the installation of the target development tool is completed, the problems that the installation process is complicated and errors are easy to occur due to the fact that all the plug-ins and the configuration information thereof before are reinstalled in the prior art are solved, and the technical effect of improving the installation efficiency of the development tool is realized.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 is a flowchart of a method for installing a development tool according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for installing a development tool according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of the remote repository storing the configuration information to be selected according to the second embodiment of the present invention;
fig. 4 is a flowchart of a method for acquiring configuration information before installation of a development tool according to a third embodiment of the present invention;
fig. 5 is a flowchart of an installation method of a development tool in an application scenario according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mounting apparatus for a development tool according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an installation method of a development tool according to an embodiment of the present invention, where the embodiment is applicable to a case when software is reinstalled, and the method may be performed by an apparatus applied to software installation, where the apparatus may be implemented in the form of software and/or hardware, and the hardware may be an electronic device, such as a mobile terminal or a PC.
As shown in fig. 1, the method of the embodiment of the present invention specifically includes the following steps:
step 110, when receiving an instruction for setting configuration information for a target development tool, determining a target configuration identifier corresponding to the target development tool;
the target development tool may be special editing software installed on the terminal device and used by a software engineer to write program codes, and the terminal device may be a mobile terminal, such as a smart phone, a tablet computer, or a fixed terminal such as a PC. Optionally, the development tool may be a vscode, which is not limited in this embodiment of the present invention. Configuration information may be understood as code information for configuring a plurality of parameters in a development tool. Illustratively, a code editor in a development tool may have plug-ins installed therein to implement its various functions, the plug-ins requiring configuration information to implement their particular functions. For example, a formatting plug-in requires that the configuration code be indented into several columns to implement its functionality.
The instructions to set configuration information may be pre-written program code that may execute instructions to set configuration information for a target development tool. The target configuration identification may be an identification for identifying target development tool configuration information. It should be noted that the target configuration identifier may be an Identity Document (ID). Such as configuration identifiers that may be generated using a snowflake algorithm, a random algorithm, or a hash algorithm. The configuration identification may then consist of symbols, letters and/or numbers.
Specifically, when the target development tool is guided into the terminal device and is ready to be installed, an installation page can be popped up on the terminal device interface, a selection control for setting configuration information can be arranged on the installation page, and when the operation of triggering the confirmation control is detected, a section of instruction for setting the configuration information for the target development tool can be generated. At this time, after the server device receives the instruction for setting the configuration information for the target development tool, the target configuration identifier corresponding to the target development tool can be determined according to the instruction.
Step 120, retrieving target configuration information consistent with the target configuration identifier from a remote repository;
and the remote warehouse stores the configuration information to be selected consistent with each configuration identifier to be selected. A remote repository may be understood as a platform for hosting storage of various code information. Optionally, the remote repository may be a cloud for storing the code, or may be a mobile hard disk or a usb disk. In the embodiment of the present invention, in order to improve the convenience of program installation, the configuration information may be stored in a remote repository, and the remote repository may be a cloud, that is, the configuration information used before may be directly obtained from the remote repository.
It should be noted that the remote repository may store configuration information of a plurality of applications, or set configuration information corresponding to an application when different users use the same application. The configuration information to be selected, which is currently consistent with the target configuration identifier, may be used as the target configuration information.
In the actual application process, in order to achieve the effect that the user can install the application program quickly when reinstalling the application program, after the first installation is completed and the corresponding configuration information is configured, the configuration information used at this time can be stored in a remote warehouse, and the configuration information is used as the configuration information to be selected. Of course, a plurality of configuration information are stored in the remote warehouse, and in order to quickly find the required configuration information from the plurality of configuration information, a configuration identifier to be selected corresponding to the configuration information to be selected may be set.
Specifically, after the target configuration identifier corresponding to the target development tool is determined, the terminal device may find the corresponding target configuration information from the remote repository according to the target configuration identifier, and apply the configuration information to the installation process of the target development tool.
Step 130, configuring the target configuration information for the target development tool to obtain a usable development tool.
Wherein the available development tools can be understood as special editing software that has been installed and can be used by a user to write program code.
Specifically, after the target configuration information is located and retrieved in the remote warehouse according to the target configuration identifier, the target configuration information is applied to the installation process of the target development tool, and then the development tool containing various configuration information required by the user can be obtained for the user to use.
According to the embodiment of the invention, the configuration information of the target development tool to be deleted is uploaded to the remote warehouse for hosting and storing, and the target configuration information is called from the remote warehouse when the target development tool is reinstalled, so that the installation of the target development tool is completed, the problems that the installation process is complicated and errors are easy to occur due to the fact that all the plug-ins and the configuration information thereof before are reinstalled in the prior art are solved, and the technical effect of improving the installation efficiency of the development tool is realized.
Example two
Fig. 2 is a flowchart of an installation method of a development tool according to a second embodiment of the present invention, and on the basis of the above technical solution, the above steps 110, 120, and 130 may be further detailed, and specific implementation manners thereof may refer to detailed explanations of the technical solution.
Referring to fig. 2, a method of an embodiment of the present invention may include the steps of:
step 210, when detecting a control triggering acquisition of configuration information corresponding to a target development tool, acquiring pre-editing user information and configuration identification information; and taking the user information and the configuration identification information as a target configuration identification.
Triggering the configuration information corresponding to the target development tool refers to triggering operation caused when the time for which the computer input device clicks or stays at a certain position reaches a preset time, or triggering operation caused by a certain key or key combination in the computer input device. Alternatively, the computer input device may be a mouse or a keyboard, for example, the trigger operation may be caused by pressing "alt + shift + d" on the keyboard.
The user information may be understood as various information indicating the identity of the user. Illustratively, the user information may be a user ID, an identification number, or a mobile phone number.
It should be noted that, after the user sends the configuration information to the remote repository, the configuration information may be marked, and a mark corresponding to each configuration information may be used as a configuration identifier.
Specifically, the remote repository contains a plurality of configuration information for development tools used by a plurality of users. Optionally, a user may correspond to multiple development tools, and each development tool may have multiple sets of configuration information. When a certain user needs to retrieve the configuration information of a certain development tool from the remote warehouse, the specific position of the target configuration information in the remote warehouse can be quickly located according to the user information, that is, the required target configuration information can be located by combining the two identification information, namely the user information and the configuration identification information.
Step 220, retrieving target configuration information consistent with the target configuration identifier from a remote warehouse; and according to the user information and the configuration identification information, determining target configuration information consistent with the target configuration identification from at least one piece of configuration information to be selected associated with the user information.
For clarity, specific embodiments of the present step may be described by taking specific examples as examples, for example, different users, optionally, user 1, user 2.. user N, and configuration information to be selected corresponding to different users using different development tools are stored in the remote repository. For example, the developer who user 1 stores to the remote warehouse has N, and the development tool 1 and the development tool 2 … develop the tool N. For each development tool, possibly due to different office places or different using modes of the development tool, the configuration information stored in the remote warehouse has N versions, version 1, version 2 and version …, and the configuration information of different versions can be used as the configuration information to be selected. When a target user needs to retrieve target configuration information from a remote warehouse, the target configuration information comprises user information and configuration identification information, the target user is located from all users according to the user information, and then the target configuration information can be located from all configuration information to be selected associated with the target user according to the configuration identification information.
The information about the configuration to be selected stored in the remote repository can be seen in the schematic diagram shown in fig. 3.
And step 230, adding the sub-configuration information corresponding to each plug-in the target configuration information into the target development tool to obtain the usable development tool.
Specifically, the called target configuration information includes sub-configuration information of various plug-ins in the target development tool. In the process of installing the target development tool, the sub-configuration information of the required plug-ins is added to the target development tool to be installed, so that the development tool with each plug-in configured can be obtained.
According to the embodiment of the invention, the configuration information of the target development tool to be deleted is uploaded to the remote warehouse for hosting and storing, and the target configuration information is called from the remote warehouse when the target development tool is reinstalled, so that the installation of the target development tool is completed, the problems that the installation process is complicated and errors are easy to occur due to the fact that all the plug-ins and the configuration information thereof before are reinstalled in the prior art are solved, and the technical effect of improving the installation efficiency of the development tool is realized.
EXAMPLE III
Fig. 4 is a flowchart of a method for acquiring configuration information before installation of a development tool according to a third embodiment of the present invention, and on the basis of the foregoing technical solution, reference may be made to detailed description of the technical solution for a specific implementation manner of the method.
And step 310, installing configuration information packaging plug-ins corresponding to the target development tools to be deleted.
The target development tool to be deleted may be the same target development tool which is intended to be deleted on the old terminal and to be installed on the new terminal, or may be the target development tool which is deleted at the current terminal at the present stage but needs to be reinstalled on the same terminal later. A configuration information packaging plug-in may be understood as a piece of program code that compresses and packages configuration information.
Specifically, before the target development tool is deleted, a code information packaging plug-in is installed, and the configuration information corresponding to the target development tool to be deleted is packaged.
And step 320, based on the configuration information package plug-ins, the code of the plug-in the editor and the code of the sub-configuration information of a single plug-in, extracting the configuration information corresponding to the target development tool to be deleted to obtain the configuration information to be uploaded corresponding to the target development tool to be deleted.
The code for acquiring the plug-in the editor may be a program code that can realize acquiring all plug-ins in the editor. The code for obtaining the sub-configuration information of a single plug-in may be understood as a piece of program code for obtaining the configuration information of a single plug-in an editor. In the embodiment of the present invention, the code for acquiring all the plug-ins in the editor may be vscode. The code to obtain configuration information for a single plug-in may be vscode.
It can be understood that after the configuration information packaging plug-in is installed, according to the configuration information packaging plug-in, the program codes of all the plug-ins in the editor are obtained, and the program code of the configuration information of a single plug-in is obtained, the function of extracting various configuration information corresponding to the target development tool to be deleted can be realized. And then, the configuration information is arranged into a form of the configuration information to be uploaded to wait for subsequent uploading processing. The configuration information to be uploaded can be understood as the configuration information which is extracted and is to be uploaded.
And step 330, sending the configuration information to be uploaded to the remote warehouse to obtain the configuration information to be selected.
It can be understood that the configuration information waiting for the uploading process is uploaded to a storage space where the managed code information function can be realized, and the configuration information required for installing the target development tool can be selected by the user.
The information about the configuration to be selected stored in the remote repository can be seen in the schematic diagram shown in fig. 3. After the user uploads the configuration information to the remote warehouse, the uploaded configuration information is stored in the remote warehouse in the form of the configuration information to be selected of a plurality of versions, and the same development tool can correspond to the configuration information to be selected of the N versions. At this time, the stored configuration information to be selected is not added with a user information identifier to further embody the configuration information, so that the user can more clearly and quickly locate the required configuration information, and the user information and the configuration information to be selected are combined to be stored in a remote warehouse in the subsequent operation.
To further illustrate the embodiment of the present invention, before step 330, the method further includes:
when detecting that a control for uploading a remote warehouse is triggered, acquiring a key value edited in a target text box; wherein the key value is created based on a remote repository.
The control for triggering the uploading of the remote warehouse may be triggered by clicking through a computer input device or by a time when a cursor stays at a position of a configuration information file to be uploaded for a preset time, or triggered by a certain key or a key combination in the computer input device. Alternatively, the computer input device may be a mouse or a keyboard. Illustratively, the key combination may be "shift + alt + u".
Specifically, when the server detects the trigger operation, the terminal pops up a text box, and the text box includes prompt information to prompt the user for the next operation. In the embodiment of the present invention, the prompt information may be changed according to the configuration information to be uploaded in the remote warehouse, and the configuration information to be uploaded is different, and the key value is also different.
Further, the step 330 includes:
and when a trigger confirmation control is detected, the key value is used as a transmission key to send the configuration file to be uploaded to the remote warehouse, and the configuration information to be selected is obtained.
The detection of the trigger confirmation control may be understood as that the trigger operation is caused when the time for which the computer input device clicks or stays at a certain position reaches a certain preset time length, or may be caused when a certain key or a key combination in the computer input device is used. Alternatively, the computer input device may be a mouse or a keyboard, and the key may be, for example, an "Enter" key, or a mouse click on a "confirm" button may be used to confirm the upload. The transmission key can be understood as a password when the key value is used as the uploading configuration information, and the configuration information to be uploaded can be sent to the remote warehouse only when the corresponding key value is input. Illustratively, the transfer key may be an access entry token (access token).
Specifically, when a key value in a text box popped up by a terminal display interface corresponds to the configuration information to be uploaded, a confirmation control is triggered, and then the configuration information can be sent to a remote warehouse for hosting and storing to obtain the configuration information to be selected, so that the configuration information can be extracted by a user at any time.
The configuration information to be selected is stored in a file form, and the configuration information to be selected comprises configuration identification to be selected corresponding to the target development tool to be deleted.
Step 340, after the configuration information to be selected is obtained, determining the user information corresponding to the configuration information to be selected, and storing the configuration information to be selected and the user information in a correlated manner.
On the basis, in order to improve the convenience of searching the target configuration identifier from the remote warehouse, the configuration information to be selected corresponding to each development tool can be classified and stored according to the user information. For example, referring to fig. 3, the remote repository stores not only different versions of configuration information to be selected corresponding to different development tools, but also different user information. When a target user needs to retrieve required configuration information from a remote warehouse, the version of the required configuration information to be selected cannot be quickly positioned only by the configuration information identifier, and the required configuration information to be selected can be positioned according to the combination of the user information identifier and the configuration information identifier. Therefore, after the configuration information to be selected is obtained, the configuration information to be selected corresponding to different development tools and the user information can be associated and stored in the remote warehouse, so that the user can quickly and conveniently call the required target configuration information from the remote warehouse.
The user information may be understood as various information indicating the identity of the user. Illustratively, the user information may be a user ID, an identification number, or a mobile phone number.
Specifically, after the configuration information is uploaded to the remote warehouse, the configuration information to be selected and the user information need to be stored in a one-to-one correspondence manner, so that the configuration information can be easily found according to the user information when being extracted next time.
According to the embodiment of the invention, the configuration information of the target development tool to be deleted is sent to the remote warehouse, and the user information and the target configuration information are subjected to associated storage processing, so that the problem that the required plug-in needs to be reconfigured and downloaded when the target development tool is reinstalled is solved, and the technical effects of improving the installation efficiency of the target development tool and the accuracy of the configuration information are realized.
Example four
In order to make the technical solutions of the embodiments of the present invention further clear to those skilled in the art, a specific application scenario example is given below by taking an object development tool as a vscode and installing various plug-ins and configuration information thereof in the vscode as an example.
Fig. 5 is a flowchart of an installation method of a development tool in an application scenario according to a fourth embodiment of the present invention; as shown in fig. 5, the target development tool is vscode. The reinstallation process of the vscode comprises a configuration information generation phase and a software reinstallation phase.
First, before deleting the old version of vscode, the configuration information of each plug-in the vscode needs to be acquired. Installing a sync plug-in on a terminal, then taking gitubs as a remote warehouse, creating an access token on gitubs as a transmission key, inputting 'shift + alt + u' on a vscode arbitrary interface, popping up a text box containing an access token value, pressing a return key, uploading configuration information to gitubs, and then generating a sync summary.
Then, when the user wants to reinstall the vscode, pressing and holding "alt + shift + d" on the vscode interface pops up a text box, inputting a gist value corresponding to the configuration information to be called from the gitubs in the text box, and downloading the configuration information and installing the plug-in to complete the installing process of the vscode.
According to the embodiment of the invention, the configuration information of the target development tool to be deleted is uploaded to the remote warehouse for hosting and storing, and the target configuration information is called from the remote warehouse when the target development tool is reinstalled, so that the installation of the target development tool is completed, the problems that the installation process is complicated and errors are easy to occur due to the fact that all the plug-ins and the configuration information thereof before are reinstalled in the prior art are solved, and the technical effect of improving the installation efficiency of the development tool is realized.
EXAMPLE five
Fig. 6 is a schematic structural diagram of an installation apparatus of a development tool according to a fifth embodiment of the present invention, where the apparatus includes: a configuration identification determination module 510, a configuration information retrieval module 520, and a configuration module 530.
The configuration identifier determining module 510 is configured to determine, when receiving an instruction to set configuration information for a target development tool, a target configuration identifier corresponding to the target development tool;
a configuration information retrieving module 520, configured to retrieve target configuration information consistent with the target configuration identifier from a remote repository; the remote warehouse stores the configuration information to be selected which is consistent with each configuration identifier to be selected;
a configuration module 530, configured to configure the target configuration information for the target development tool, so as to obtain a usable development tool.
Optionally, the configuration identifier determining module 510 is configured to, when detecting that a control for acquiring configuration information corresponding to the target development tool is triggered, acquire pre-editing user information and configuration identifier information; and taking the user information and the configuration identification information as the target configuration identification.
Optionally, the configuration information retrieving module 520 is configured to determine, according to the user information and the configuration identifier information, target configuration information that is consistent with the target configuration identifier from at least one to-be-selected configuration information associated with the user information.
Optionally, the configuration module 530 is configured to add the sub-configuration information corresponding to each plug-in the target configuration information to the target development tool, so as to obtain the usable development tool.
Optionally, the apparatus further comprises: and the packaging plug-in installation module is used for installing the configuration information packaging plug-ins corresponding to the target development tools to be deleted.
Optionally, the apparatus further comprises: and the code acquisition module is used for extracting the configuration information corresponding to the target development tool to be deleted based on the configuration information packaging plug-ins, the code of the plug-ins in the editor and the code of the sub-configuration information of the single plug-in, so as to obtain the configuration information to be uploaded corresponding to the target development tool to be deleted.
Optionally, the apparatus further comprises: and the sending module is used for sending the configuration information to be uploaded to the remote warehouse to obtain the configuration information to be selected.
Optionally, the apparatus further comprises: the acquisition module is used for sending the configuration information to be uploaded to the remote warehouse and acquiring a key value edited in a target text box when a control triggering the uploading of the remote warehouse is detected before the configuration information to be selected is obtained; wherein the key value is created based on a remote repository.
Optionally, the sending module is further configured to send the configuration file to be uploaded to the remote warehouse by using the key value as a transmission key when a trigger confirmation control is detected, so as to obtain the configuration information to be selected.
Optionally, the apparatus further comprises: and the storage module is used for storing the configuration information to be selected in a file form, and the configuration information to be selected comprises a configuration identifier to be selected corresponding to the target development case tool to be deleted.
Optionally, after obtaining the configuration information to be selected, the apparatus further includes: and the information storage module is used for determining the user information corresponding to the configuration information to be selected and storing the configuration information to be selected and the user information in a correlation manner.
The device applied to software installation provided by the embodiment of the invention can execute the method applied to software installation provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the system are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
EXAMPLE six
Fig. 7 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention. FIG. 7 illustrates a block diagram of an exemplary electronic device 60 suitable for use in implementing embodiments of the present invention. The electronic device 60 shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 7, the electronic device 60 is in the form of a general purpose computing device. The components of the electronic device 60 may include, but are not limited to: one or more processors or processing units 601, a system memory 602, and a bus 603 that couples various system components including the system memory 602 and the processing unit 601.
Bus 603 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 60 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 60 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 602 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)604 and/or cache memory 605. The electronic device 60 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 606 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, commonly referred to as a "hard drive"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 603 by one or more data media interfaces. Memory 602 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 608 having a set (at least one) of program modules 607 may be stored, for example, in memory 602, such program modules 607 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 607 generally perform the functions and/or methods of the described embodiments of the invention.
Electronic device 60 may also communicate with one or more external devices 609 (e.g., keyboard, pointing device, display 610, etc.), with one or more devices that enable a user to interact with electronic device 60, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 60 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 611. Also, the electronic device 60 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 612. As shown, the network adapter 612 communicates with the other modules of the electronic device 60 via the bus 603. It should be appreciated that although not shown in FIG. 7, other hardware and/or software modules may be used in conjunction with electronic device 60, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 601 executes various functional applications and data processing, for example, implementing an installation method of a development tool provided by an embodiment of the present invention, by running a program stored in the system memory 602.
EXAMPLE seven
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for installing a development tool.
When an instruction for setting configuration information for a target development tool is received, determining a target configuration identifier corresponding to the target development tool;
retrieving target configuration information consistent with the target configuration identifier from a remote repository; the remote warehouse stores the configuration information to be selected which is consistent with each configuration identifier to be selected;
and configuring the target configuration information for the target development tool to obtain a usable development tool.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (11)

1. A method of installing a development tool, comprising:
when an instruction for setting configuration information for a target development tool is received, determining a target configuration identifier corresponding to the target development tool;
retrieving target configuration information consistent with the target configuration identifier from a remote repository; the remote warehouse stores the configuration information to be selected which is consistent with each configuration identifier to be selected;
and configuring the target configuration information for the target development tool to obtain a usable development tool.
2. The method of claim 1, wherein determining a configuration identifier corresponding to a target development tool when receiving an instruction to set configuration information for the target development tool comprises:
when detecting that a control for acquiring configuration information corresponding to the target development tool is triggered, acquiring pre-editing user information and configuration identification information;
and taking the user information and the configuration identification information as the target configuration identification.
3. The method of claim 2, wherein retrieving target configuration information consistent with the target configuration identifier from a remote repository comprises:
and according to the user information and the configuration identification information, determining target configuration information consistent with the target configuration identification from at least one piece of configuration information to be selected associated with the user information.
4. The method of claim 1, wherein configuring the target configuration information for the target development tool results in a usable development tool, comprising:
and adding the sub-configuration information corresponding to each plug-in the target configuration information into the target development tool to obtain the usable development tool.
5. The method of claim 1, further comprising:
installing a configuration information packaging plug-in corresponding to the target development tool to be deleted;
extracting the configuration information corresponding to the target development tool to be deleted based on the configuration information packaging plug-ins, the codes of the plug-ins in the editor and the codes of the sub-configuration information of the single plug-in, so as to obtain the configuration information to be uploaded corresponding to the target development tool to be deleted;
and sending the configuration information to be uploaded to the remote warehouse to obtain the configuration information to be selected.
6. The method according to claim 5, further comprising, before sending the configuration information to be uploaded to the remote repository to obtain the configuration information to be selected:
when detecting that a control for uploading a remote warehouse is triggered, acquiring a key value edited in a target text box; wherein the key value is created based on a remote repository;
correspondingly, the sending the configuration information to be uploaded to the remote warehouse to obtain the configuration information to be selected includes:
and when a trigger confirmation control is detected, the key value is used as a transmission key to send the configuration file to be uploaded to the remote warehouse, and the configuration information to be selected is obtained.
7. The method according to any one of claims 5 or 6, wherein the configuration information to be selected is stored in a file form, and the configuration information to be selected includes a configuration identifier to be selected corresponding to the target development tool to be deleted.
8. The method according to any one of claims 5 or 6, further comprising, after obtaining the configuration information to be selected:
and determining user information corresponding to the configuration information to be selected, and storing the configuration information to be selected and the user information in a correlation manner.
9. A mounting apparatus for a development tool, comprising:
the system comprises a configuration identifier determining module, a configuration identifier determining module and a configuration identifier determining module, wherein the configuration identifier determining module is used for determining a target configuration identifier corresponding to a target development tool when receiving an instruction for setting configuration information for the target development tool;
the configuration information calling module is used for calling the target configuration information consistent with the target configuration identifier from a remote warehouse; the remote warehouse stores the configuration information to be selected which is consistent with each configuration identifier to be selected;
and the configuration module is used for configuring the target configuration information for the target development tool to obtain a usable development tool.
10. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the installation method for the development tool as recited in any of claims 1-8.
11. A storage medium containing computer-executable instructions for performing the method of installing a development tool according to any one of claims 1-8 when executed by a computer processor.
CN202110974485.4A 2021-08-24 2021-08-24 Method and device for installing development tool, electronic equipment and storage medium Pending CN113626045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110974485.4A CN113626045A (en) 2021-08-24 2021-08-24 Method and device for installing development tool, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110974485.4A CN113626045A (en) 2021-08-24 2021-08-24 Method and device for installing development tool, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113626045A true CN113626045A (en) 2021-11-09

Family

ID=78387450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110974485.4A Pending CN113626045A (en) 2021-08-24 2021-08-24 Method and device for installing development tool, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113626045A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714827A (en) * 2015-03-31 2015-06-17 北京奇虎科技有限公司 Plug-in update method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714827A (en) * 2015-03-31 2015-06-17 北京奇虎科技有限公司 Plug-in update method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JAMES Q QUICK: "Settings Sync Extension for Visual Studio Code", Retrieved from the Internet <URL:https://www.jamesqquick.com/blog/settings-sync-extension-for-visual-studio-code/> *
LES LEE: "使用Settings Sync同步 VScode 的插件和配置", Retrieved from the Internet <URL:https://medium.com/一個小小工程師的隨手筆記/vscode-使用-settings-sync-同步-vscode-的擴充功能與各項設定-bb24a8d141eb> *

Similar Documents

Publication Publication Date Title
US11467816B1 (en) Method and system of running an application
CN107506256B (en) Method and device for monitoring crash data
CN109672722B (en) Data deployment method and device, computer storage medium and electronic equipment
CN113051514A (en) Element positioning method and device, electronic equipment and storage medium
CN110688111A (en) Configuration method, device, server and storage medium of business process
CN115150261A (en) Alarm analysis method and device, electronic equipment and storage medium
CN113760306A (en) Method and device for installing software, electronic equipment and storage medium
CN112463256A (en) Method, system, electronic device and storage medium for determining configuration file
CN110245059B (en) Data processing method, device and storage medium
CN111488286B (en) Method and device for independently developing Android modules
CN113836014A (en) Interface testing method and device, electronic equipment and storage medium
CN113760617A (en) Fault processing method and device, equipment and storage medium
US10129328B2 (en) Centralized management of webservice resources in an enterprise
US9787552B2 (en) Operation process creation program, operation process creation method, and information processing device
CN113434217B (en) Vulnerability scanning method, vulnerability scanning device, computer equipment and medium
CN113626045A (en) Method and device for installing development tool, electronic equipment and storage medium
KR101828466B1 (en) Method and apparatus for providing an object-based storage interface on the storage device based on file system
CN112748930B (en) Compilation detection method, device, equipment and storage medium
CN111124627A (en) Method, device, terminal and storage medium for determining application program caller
CN112162954B (en) User operation log generation and path positioning method, device, equipment and medium
CN110753136B (en) Domain name resolution method, device, equipment and storage medium
CN111400623A (en) Method and apparatus for searching information
CN112035354B (en) Positioning method, device and equipment of risk codes and storage medium
KR102000543B1 (en) Apparatus for editing web electric document and operating method thereof
AU2018313995B2 (en) Systems and methods for providing globalization features in a service management application interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination